新增公司
This commit is contained in:
parent
7251823161
commit
e3a6759569
|
|
@ -302,7 +302,6 @@ public class SysDeptServiceImpl implements ISysDeptService
|
|||
dept.setStatus("0");//默认启用
|
||||
dept.setMenuTemplateId(1L);//TODO 将来用前端传的模版ID
|
||||
dept.setLeader(dept.getSysUser().getUserName());
|
||||
dept.setPhone(dept.getSysUser().getPhonenumber());
|
||||
if (StringUtils.isNotNull(dept.getSysUser()) && !userService.checkUserNameUnique(dept.getSysUser())) {
|
||||
throw new ServiceException("新增公司管理员用户'" + dept.getSysUser().getUserName() + "'失败,登录账号已存在");
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue