Browse Source

后线人员查询时过滤掉合伙人信息

xuqiang 7 months ago
parent
commit
4179c32f78
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/main/resources/mapper/modules/admin/SysUserMapper.xml

+ 1 - 1
src/main/resources/mapper/modules/admin/SysUserMapper.xml

@@ -305,7 +305,7 @@
         LEFT JOIN sys_role t4 ON t3.role_id = t4.id
         LEFT JOIN sys_role t4 ON t3.role_id = t4.id
         AND sd.del_flag = '0'
         AND sd.del_flag = '0'
         WHERE
         WHERE
-        1=1
+        1=1 AND su.type != 4
         <if test='user !=null  '>
         <if test='user !=null  '>
             <if test='user.status !=null and user.status!="" '>
             <if test='user.status !=null and user.status!="" '>
                 and su.status = #{user.status}
                 and su.status = #{user.status}