|
@@ -334,6 +334,9 @@ public class AppFunInfoService implements IAppFunInfoService {
|
|
|
|
|
|
@Override
|
|
|
public List<AppFunInfo> getByAppIds(List<String> appIds) {
|
|
|
+ if (CollectionUtils.isEmpty(appIds)) {
|
|
|
+ return Collections.emptyList();
|
|
|
+ }
|
|
|
Searchable searchable = Searchable.newSearchable();
|
|
|
searchable.addSearchFilter("app_id", SearchOperator.in, appIds);
|
|
|
searchable.addSearchFilter("is_active", SearchOperator.eq, BooleanEnum.TRUE.getValue());
|
|
@@ -555,6 +558,9 @@ public class AppFunInfoService implements IAppFunInfoService {
|
|
|
|
|
|
@Override
|
|
|
public List<AppFunInfoDTO> getByIds(List<String> funIds) {
|
|
|
+ if (CollectionUtils.isEmpty(funIds)) {
|
|
|
+ return Collections.emptyList();
|
|
|
+ }
|
|
|
Searchable searchable = Searchable.newSearchable();
|
|
|
searchable.addSearchFilter("id", SearchOperator.in, funIds);
|
|
|
searchable.addSearchFilter("is_active", SearchOperator.eq, BooleanEnum.TRUE.value);
|