Commit Graph

6 Commits

Author SHA1 Message Date
ifangng
8b0a0ddf2b
fix: 修复用户管理页面通过部门无法查询到用户 (#33)
如果在用户管理页面选择一个顶级部门,最终SQL条件为:WHERE u.dept_id = 7 AND u.dept_id in ( 17 , 2 , 5 , 7 ),用户如果不在顶级部门,会查询不到,在Controller代码中已经将父节点和子节点都添加在了集合中,所以可以去除u.dept_id = #{criteria.deptId} 条件。

Co-authored-by: ifangng <ifangnorz@gmail.com>
2024-01-18 11:08:12 +08:00
Zheng Jie
a680cd321c update UserMapper.xml
close https://github.com/elunez/eladmin-mp/issues/28
2024-01-02 14:20:33 +08:00
Zheng Jie
895864b88d 代码优化 2023-07-10 11:04:25 +08:00
Zheng Jie
da342842d2 新增重置用户密码功能 2023-07-06 14:23:17 +08:00
Zheng Jie
f30f3b24ea 修复部门删除时sql解析异常 2023-06-27 17:33:40 +08:00
Zheng Jie
8613cb1140 eladmin mybatis-plus 发布 2023-06-26 15:10:45 +08:00