|
@@ -108,6 +108,9 @@ public class ServiceResourceServiceImpl extends BaseMybatisService<ServiceResour
|
|
|
Map<String,ApplyInfo> applyInfoMap = null;
|
|
|
if(null != appNameCondition && StringUtils.isNotBlank(appName = appNameCondition.getValue().toString())) {
|
|
|
List<ApplyInfo> appList = applyInfoFacade.getAppByAppNameLike(appName);
|
|
|
+ if(CollectionUtils.isEmpty(appList)) {
|
|
|
+ return new PageImpl<>(new ArrayList<>(), searchable.getPage(), 0L);
|
|
|
+ }
|
|
|
searchable.removeSearchFilter("appName", SearchOperator.like);
|
|
|
applyInfoMap = appList.stream().collect(Collectors.toMap(ApplyInfo::getApplyCode,item->item,(old,last)->last));
|
|
|
searchable.addSearchFilter("app_code",SearchOperator.in, applyInfoMap.keySet());
|