Преглед изворни кода

feat:调整销售app会员查询

caoliqin пре 1 недеља
родитељ
комит
cf3874ef3f
1 измењених фајлова са 2 додато и 2 уклоњено
  1. 2 2
      fs-service-system/src/main/resources/mapper/store/FsUserMapper.xml

+ 2 - 2
fs-service-system/src/main/resources/mapper/store/FsUserMapper.xml

@@ -547,10 +547,10 @@
         </if>
         <choose>
             <when test = "isBlack">
-                AND (fs_user.status = 1 and (fs_user_company_user.is_repeat_fans = 0 or fs_user_company_user.is_repeat_fans is null ))
+                AND (fs_user.status = 0 or fs_user_company_user.is_repeat_fans = 1)
             </when>
             <otherwise>
-                AND (fs_user.status = 1 and fs_user_company_user.is_repeat_fans = 0)
+                AND (fs_user.status = 1 and (fs_user_company_user.is_repeat_fans = 0 or fs_user_company_user.is_repeat_fans is null ))
             </otherwise>
         </choose>
         <if test="keyword != null and keyword !='' ">