新增公司
This commit is contained in:
parent
c802aa082e
commit
c01eeb505d
|
|
@ -450,6 +450,7 @@ public class SysDeptServiceImpl implements ISysDeptService
|
|||
user.setCreateBy(SecurityUtils.getUsername());
|
||||
user.setPassword(SecurityUtils.encryptPassword(dept.getInitPassword()));
|
||||
user.setDeptId(dept.getDeptId());
|
||||
user.setLoginType("0"); //后台
|
||||
userMapper.insertUser(user);
|
||||
dept.setAdminUserId(user.getUserId());
|
||||
deptMapper.updateDept(dept);
|
||||
|
|
|
|||
Loading…
Reference in New Issue