shjung il y a 2 ans
Parent
commit
e2037a0cb8

+ 1 - 1
src/main/java/com/its/op/service/its/oper/TbUserInfrService.java

@@ -184,7 +184,7 @@ public class TbUserInfrService {
         TbUserInfrDto user = findById(userId);
         List<TbUserGropMenuAthrDto> menuAthr = this.menuService.findAll();
         menuAthr.forEach(auth -> {
-            if (StringUtils.equalsIgnoreCase(user.getGropId(), auth.getGropId())) {
+            if (StringUtils.equalsIgnoreCase(user.getGropId(), auth.getGropId()) && StringUtils.equalsIgnoreCase(user.getOperSystId(), auth.getOperSystId())) {
                 result.add(UserMenuDto.builder()
                         .menuId(auth.getMenuId())
                         .athrYn(auth.getAthrYn())