处理问题
This commit is contained in:
parent
1115c76216
commit
ee017c6adc
@ -67,7 +67,7 @@ public class DepartmentUserServiceImpl extends DefaultBaseService implements IDe
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (isExist) {
|
if (!isExist) {
|
||||||
params.put("userId", saveUserId);
|
params.put("userId", saveUserId);
|
||||||
params.put("departmentId", departmentId);
|
params.put("departmentId", departmentId);
|
||||||
departmentUserDao.save(params);
|
departmentUserDao.save(params);
|
||||||
|
@ -65,7 +65,7 @@ public class RoleUserServiceImpl extends DefaultBaseService implements IRoleUser
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (isExist) {
|
if (!isExist) {
|
||||||
params.put("roleId", roleId);
|
params.put("roleId", roleId);
|
||||||
params.put("userId", saveUserId);
|
params.put("userId", saveUserId);
|
||||||
roleUserDao.save(params);
|
roleUserDao.save(params);
|
||||||
|
Loading…
Reference in New Issue
Block a user