Просмотр исходного кода

项目会员和我的项目会员新增查询条件:status用户状态、isBuy是否购药、userId会员ID、APP来源

luolinsong 1 месяц назад
Родитель
Сommit
1f983c3b34

+ 4 - 0
fs-service/src/main/java/com/fs/store/param/h5/FsUserPageListParam.java

@@ -89,6 +89,10 @@ public class FsUserPageListParam implements Serializable {
      */
     private Boolean isHidePhoneMiddle = Boolean.TRUE;
 
+    //private Integer status;  //用户状态
+    private Integer isBuy;
+    private String source;
+    private String phoneMk;
 
 }
 

+ 9 - 0
fs-service/src/main/resources/mapper/his/FsUserMapper.xml

@@ -380,6 +380,15 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
             <if test="projectId != null">
                 AND ucu.project_id = #{projectId}
             </if>
+            <if test="source != null  and source != ''">
+                and fs_user.source = #{source}
+            </if>
+            <if test="status != null  and status != ''">
+                and fs_user.status = #{status}
+            </if>
+            <if test="isBuy != null  and isBuy != ''">
+                and fs_user.is_buy = #{isBuy}
+            </if>
         </where>
         ORDER BY fs_user.create_time DESC
     </select>