anderx 1 год назад
Родитель
Сommit
4bef4774f7

+ 10 - 2
src/main/java/com/goafanti/common/dao/UserMapper.java

@@ -14,6 +14,7 @@ import com.goafanti.report.bo.marketingESBo;
 import com.goafanti.report.bo.userDataListBo;
 import com.goafanti.user.bo.*;
 import org.apache.ibatis.annotations.Param;
+import org.springframework.data.domain.Pageable;
 
 import java.util.Date;
 import java.util.List;
@@ -23,7 +24,7 @@ import java.util.Map;
  * (User)表数据库访问层
  *
  * @author makejava
- * @since 2024-11-19 15:44:01
+ * @since 2024-11-28 15:11:05
  */
 public interface UserMapper {
 
@@ -36,6 +37,14 @@ public interface UserMapper {
     User queryById(String id);
 
 
+    /**
+     * 查询指定行数据
+     *
+     * @param user     查询条件
+     * @param pageable 分页对象
+     * @return 对象列表
+     */
+    List<User> findUserList(User user, @Param("pageable") Pageable pageable);
 
     /**
      * 统计总行数
@@ -316,4 +325,3 @@ public interface UserMapper {
     int selectUserLevel(String aid);
 }
 
-

Разница между файлами не показана из-за своего большого размера
+ 38 - 15
src/main/java/com/goafanti/common/mapper/UserMapper.xml


+ 15 - 2
src/main/java/com/goafanti/common/model/User.java

@@ -7,10 +7,10 @@ import java.util.Date;
  * (User)实体类
  *
  * @author makejava
- * @since 2024-11-19 15:44:01
+ * @since 2024-11-28 15:11:06
  */
 public class User implements  AftUser{
-    private static final long serialVersionUID = 703046321551159676L;
+    private static final long serialVersionUID = 896145436195951740L;
 
     private String id;
     /**
@@ -181,6 +181,10 @@ public class User implements  AftUser{
      * 外呼状态 0=未呼叫,1=呼叫中
      */
     private Integer callStatus;
+    /**
+     * 线索客户 0=否,1=是
+     */
+    private Integer clueStatus;
 
 
     public String getId() {
@@ -526,5 +530,14 @@ public class User implements  AftUser{
     public void setCallStatus(Integer callStatus) {
         this.callStatus = callStatus;
     }
+
+    public Integer getClueStatus() {
+        return clueStatus;
+    }
+
+    public void setClueStatus(Integer clueStatus) {
+        this.clueStatus = clueStatus;
+    }
+
 }