Browse Source

会员总数查询

ct 1 week ago
parent
commit
1bd2723236

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

@@ -624,7 +624,7 @@
             fs_user
                 LEFT JOIN fs_user_company_user ON fs_user_company_user.user_id = fs_user.user_id
                 LEFT JOIN company_user ON company_user.user_id = fs_user_company_user.company_user_id
-        WHERE fs_user.is_del = 0
+        WHERE fs_user.is_del = 0 and fs_user_company_user.is_repeat_fans is not null
         <if test="userId != null and userId != 0 ">
             and (fs_user.company_user_id = #{userId} OR company_user.parent_id = #{userId} )
         </if>