|
@@ -1047,7 +1047,7 @@ public class SysUserServiceImpl extends ServiceImpl<SysUserMapper, SysUser> impl
|
|
|
if (sysDept == null) {
|
|
if (sysDept == null) {
|
|
|
throw new SystemException("所选机构不存在");
|
|
throw new SystemException("所选机构不存在");
|
|
|
}
|
|
}
|
|
|
- if (!typeAttr.equals("2")) {
|
|
|
|
|
|
|
+ if (!"2".equals(typeAttr)) {
|
|
|
if (sysUserJzgInfoByLeaderId == null) {
|
|
if (sysUserJzgInfoByLeaderId == null) {
|
|
|
throw new SystemException("所选管理员不存在");
|
|
throw new SystemException("所选管理员不存在");
|
|
|
}
|
|
}
|