guoyujia hai 1 ano
pai
achega
d3e7bac112
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/main/resources/mybatis/system/SysUserMapper.xml

+ 1 - 1
src/main/resources/mybatis/system/SysUserMapper.xml

@@ -105,7 +105,7 @@
 		       u.create_by,
 		       u.create_time,
 		       u.remark FROM sys_user u left join sys_dept_user d on u.user_id = d.user_id
-		WHERE u.del_flag = '0'
+		WHERE u.del_flag = '0' and d.deleted = 0
 		<if test="userId != null and userId != 0">
 			AND u.user_id = #{userId}
 		</if>