@@ -138,6 +138,10 @@ public class SupportService {
supportIdList.add(relation.getTid());
});
+ if (supportIdList.isEmpty()){
+ return new ArrayList<>();
+ }
+
List<Support> supportList = supportRepository.findByIds(supportIdList, BaseStatusEnum.NORMAL);
return supportList;