mirror of
https://gitee.com/dromara/RuoYi-Vue-Plus.git
synced 2026-09-20 18:15: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);
|
||||
//新增系统用户后,默认当前用户为部门的负责人
|
||||
SysDept sd = new SysDept();
|
||||
sd.setLeader(user.getUserId());
|
||||
sd.setLeaderId(user.getUserId());
|
||||
sd.setDeptId(deptId);
|
||||
deptMapper.updateById(sd);
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user