Commit 97c07cfd authored by cq990612's avatar cq990612

优化代码结构

parent 414fd712
......@@ -282,13 +282,13 @@ public class WorkUserServiceImpl implements WorkUserService {
workCentreService.updateById(centre);
}
}
/*if (null != status && status == 0 && !CollectionUtils.isEmpty(roleIds)) {
if (null != status && status == 0 && !CollectionUtils.isEmpty(roleIds)) {
if (roleIds.size() == 1 && roleIds.get(0).equals(0)) {
}else{
throw new BaseCustomException(BASE_RESP_CODE_ENUM.PLEASE_CANCELTHE_MANAGEMENTROLE);
}
}*/
}
workUserRoleMapper.insertBatch(userId, roleIds);
return true;
......
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