Browse Source

default

sprint/s4
董书康 6 months ago
parent
commit
4d9d29b993
1 changed files with 5 additions and 5 deletions
  1. +5
    -5
      demo-athenaopt_backend/develop/src/main/java/com/digiwin/athena/app/provider/impl/BasicApiServiceImpl.java

+ 5
- 5
demo-athenaopt_backend/develop/src/main/java/com/digiwin/athena/app/provider/impl/BasicApiServiceImpl.java View File

@ -105,13 +105,13 @@ public class BasicApiServiceImpl implements BasicApiService {
List<LayoutConfig> list = lambdaQuery.list();
if (list.isEmpty()) {
lambdaQuery.clear();
lambdaQuery.eq(LayoutConfig::getUserId, "default");
lambdaQuery.eq(LayoutConfig::getTenantId, tenantId);
LambdaQueryChainWrapper<LayoutConfig> lambdaQueryX = layoutConfigService.lambdaQuery();
lambdaQueryX.eq(LayoutConfig::getUserId, "default");
lambdaQueryX.eq(LayoutConfig::getTenantId, tenantId);
if (StringUtils.isNotBlank(sysId)) {
lambdaQuery.eq(LayoutConfig::getSysId, sysId);
lambdaQueryX.eq(LayoutConfig::getSysId, sysId);
}
list = lambdaQuery.list();
list = lambdaQueryX.list();
}
return list;


Loading…
Cancel
Save