Explorar el Código

fix bug:修复一人多集团时查询的bug

lijie hace 3 años
padre
commit
c1d1eec860

+ 1 - 2
dmp-comp/dmp-auth/src/main/java/com/persagy/dmp/auth/service/impl/EmsAuthServiceImpl.java

@@ -75,8 +75,7 @@ public class EmsAuthServiceImpl extends AbstractAuthServiceImpl {
             }
         }
         // 2.验证集团是否有效
-        if (StrUtil.isBlank(AppContext.getContext().getGroupCode())
-                || !groupMap.containsKey(AppContext.getContext().getGroupCode())){
+        if (StrUtil.isBlank(AppContext.getContext().getGroupCode())){
             throw new BusinessException(ResponseCode.A0402.getCode(),ResponseCode.A0402.getDesc());
         }
 //        if (StrUtil.isBlank(AppContext.getContext().getProjectId())){