Ver Fonte

feat:调整销售app会员查询

caoliqin há 1 semana atrás
pai
commit
c9a442b318

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

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