njs 1 anno fa
parent
commit
eecc4e32c0

+ 3 - 1
suishenbang-system/src/main/resources/mapper/system/SysUserSalesExtMapper.xml

@@ -210,7 +210,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
         FROM
             sys_user_ext e LEFT JOIN sys_user u on  u.user_id = e.user_id
         WHERE
-            u.is_sync != 1
+            u.is_sync ='0'
+              and u.quit is null
+              and u.del_flag='0'
         GROUP BY
             e.user_id
     </select>