Commit 81514b6f authored by cq990612's avatar cq990612

优化代码结构

parent 97b31bf2
......@@ -234,7 +234,7 @@ public class WorkUserServiceImpl implements WorkUserService {
int DeptUpdateIndex = 0;
int centreUpdateIndex = 0;
if (!CollectionUtils.isEmpty(roles)) {
if (!CollectionUtils.isEmpty(roles) && 1==workUser.getStatus()) {
for (Integer role : roles) {
// 部门经理
if (2 == role) {
......
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