Browse Source

Merge branch 'sprint/s4' into release/s4

release/s4
董书康 6 months ago
parent
commit
5fea05fa1e
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(); List<LayoutConfig> list = lambdaQuery.list();
if (list.isEmpty()) { 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)) { if (StringUtils.isNotBlank(sysId)) {
lambdaQuery.eq(LayoutConfig::getSysId, sysId);
lambdaQueryX.eq(LayoutConfig::getSysId, sysId);
} }
list = lambdaQuery.list();
list = lambdaQueryX.list();
} }
return list; return list;


Loading…
Cancel
Save