Przeglądaj źródła

feature: 机构应用鉴权报错修改

mazq 1 rok temu
rodzic
commit
6a51b6c088

+ 3 - 0
dcuc-app-service/src/main/java/com/dragoninfo/dcuc/app/service/impl/ApplyInfoServiceImpl.java

@@ -272,6 +272,9 @@ public class ApplyInfoServiceImpl implements IApplyInfoService {
     @Cacheable(key = "targetClass + methodName+#p0")
     @Override
     public List<ApplyInfo> getAppById(List<String> ids) {
+        if(CollectionUtils.isEmpty(ids)) {
+            return Collections.emptyList();
+        }
         return applyInfoMapper.selectBatchIds(ids);
     }