Ver Fonte

fix bug

wangliang há 3 anos atrás
pai
commit
d159849cb9

+ 1 - 2
teachcloud-common/src/main/java/com/qmth/teachcloud/common/service/impl/TeachcloudCommonServiceImpl.java

@@ -286,8 +286,7 @@ public class TeachcloudCommonServiceImpl implements TeachcloudCommonService {
                     SysOrg org = Objects.nonNull(user.getOrgId()) ? commonCacheService.orgCache(user.getOrgId()) : null;
                     sysPrivilegeQueryWrapper.lambda().in(SysPrivilege::getId, privilegeIds)
                             .eq(SysPrivilege::getType, PrivilegeEnum.URL)
-                            .eq(SysPrivilege::getProperty, PrivilegePropertyEnum.AUTH)
-                            .eq(SysPrivilege::getDefaultAuth, true);
+                            .eq(SysPrivilege::getProperty, PrivilegePropertyEnum.AUTH);
 //                    if (Objects.isNull(tbSchool)) {
 //                        sysPrivilegeQueryWrapper.lambda().isNull(SysPrivilege::getSchoolId);
 //                    } else {