微调
This commit is contained in:
@@ -259,7 +259,7 @@ public class UserServiceImpl extends ServiceImpl<UserMapper, User> implements IU
|
||||
return null;
|
||||
}
|
||||
BeanUtil.copyProperties(user, userVO);
|
||||
if (!Objects.isNull(user.getDeptId())) {
|
||||
if (!Objects.isNull(user.getDeptId()) && StringUtils.isNotBlank(user.getDeptId())) {
|
||||
Dept dept = deptService.getDeptById(user.getDeptId());
|
||||
//非自定义部门
|
||||
if (Objects.equals(dept.getType(), 0)) {
|
||||
|
||||
Reference in New Issue
Block a user