mirror of
https://gitee.com/dromara/RuoYi-Vue-Plus.git
synced 2026-09-21 02:25:56 +08:00
update 修改变量leader为leaderId,使其符合命名规范
This commit is contained in:
parent
ca1cd6e596
commit
b10cc8d3f5
@ -153,7 +153,7 @@ public class SysTenantServiceImpl implements ISysTenantService {
|
|||||||
userMapper.insert(user);
|
userMapper.insert(user);
|
||||||
//新增系统用户后,默认当前用户为部门的负责人
|
//新增系统用户后,默认当前用户为部门的负责人
|
||||||
SysDept sd = new SysDept();
|
SysDept sd = new SysDept();
|
||||||
sd.setLeader(user.getUserId());
|
sd.setLeaderId(user.getUserId());
|
||||||
sd.setDeptId(deptId);
|
sd.setDeptId(deptId);
|
||||||
deptMapper.updateById(sd);
|
deptMapper.updateById(sd);
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user