Browse Source

新增所属人搜索

anderx 1 year ago
parent
commit
54d648d65e

+ 3 - 0
src/main/java/com/goafanti/common/mapper/UserMapper.xml

@@ -1565,6 +1565,9 @@
         <if test="userName!=null">
             and a.nickname like concat('%',#{userName},'%')
         </if>
+        <if test="belongName !=null">
+            and a.aid = #{belongName}
+        </if>
     </sql>
     <select id="selectUserClueCount" resultType="java.lang.Integer">
         select count(*) from `user` a

+ 9 - 0
src/main/java/com/goafanti/customer/bo/InputUserClueList.java

@@ -5,12 +5,21 @@ public class InputUserClueList {
     private Integer shiroType;
     private Integer clueProcess;
     private String aid;
+    private String belongName;
     private String startTime;
     private String endTime;
     private String userName;
     private Integer pageSize;
     private Integer pageNo;
 
+    public String getBelongName() {
+        return belongName;
+    }
+
+    public void setBelongName(String belongName) {
+        this.belongName = belongName;
+    }
+
     public String getUserName() {
         return userName;
     }