Commit d6276f17 by zzrdark

1.修复 新增用户

parent b3f95a20
......@@ -27,3 +27,12 @@ feign:
CNEEDS-SERVER-DEVICE:
connectTimeout: 10000
readTimeout: 10000
CNEEDS-SERVER-AUTHORIZATION:
connectTimeout: 10000
readTimeout: 10000
CNEEDS-SERVER-LOGUPLOAD:
connectTimeout: 10000
readTimeout: 10000
CNEEDS-SERVER-USER:
connectTimeout: 10000
readTimeout: 10000
......@@ -41,7 +41,7 @@ public class SysUserDeptServiceImpl extends ServiceImpl<SysUserDeptDao, SysUserD
//先删除用户与部门关系
deleteBatch(new Long[]{userId});
if(deptIdList.size() == 0){
if(deptIdList == null || deptIdList.size() == 0){
return ;
}
......
......@@ -42,7 +42,7 @@ public class SysUserFuncServiceImpl extends ServiceImpl<SysUserFuncDao, SysUserF
//先删除角色与菜单关系
deleteBatch(new Long[]{userId});
if(menuIdList.size() == 0){
if( menuIdList == null || menuIdList.size() == 0){
return ;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment