guoyujia hace 1 año
padre
commit
d3e7bac112
Se han modificado 1 ficheros con 1 adiciones y 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>