diff --git a/common/src/main/java/com/foreverwin/mesnac/common/constant/Constants.java b/common/src/main/java/com/foreverwin/mesnac/common/constant/Constants.java index 0eff2fef..fc5b2f59 100644 --- a/common/src/main/java/com/foreverwin/mesnac/common/constant/Constants.java +++ b/common/src/main/java/com/foreverwin/mesnac/common/constant/Constants.java @@ -189,7 +189,7 @@ public interface Constants { //用户组 - String USER_GROUP_ADMINISTRATOR = "ADMINISTRATOR"; + String USER_GROUP_ADMINISTRATOR = "ADMINISTRATORS"; //车间调度 String USER_GROUP_CJDD = "CJDD"; //总计划 diff --git a/dispatch/src/main/java/com/foreverwin/mesnac/dispatch/service/impl/SfcDispatchServiceImpl.java b/dispatch/src/main/java/com/foreverwin/mesnac/dispatch/service/impl/SfcDispatchServiceImpl.java index 091485ca..b786ea0d 100644 --- a/dispatch/src/main/java/com/foreverwin/mesnac/dispatch/service/impl/SfcDispatchServiceImpl.java +++ b/dispatch/src/main/java/com/foreverwin/mesnac/dispatch/service/impl/SfcDispatchServiceImpl.java @@ -99,7 +99,7 @@ public class SfcDispatchServiceImpl extends ServiceImpl userGroupList = userGroupService.getUserGroupListByUserBo(userBo); - String role = "ADMINISTRATOR"; + String role = "ADMINISTRATORS"; if (userGroupList != null && userGroupList.size() > 0) { for (UserGroup userGroupModel: userGroupList) { String userGroup = userGroupModel.getUserGroup();