|
@@ -1040,7 +1040,15 @@ public class MappingConfigFacade extends MappingConfigServiceImpl {
|
|
|
return list;
|
|
|
}
|
|
|
IndexByApprovalVO indexByApprovalVO = new IndexByApprovalVO();
|
|
|
- indexByApprovalVO.setApprovalList(list.stream().map(MappingConfigWrapper::getApproval).collect(Collectors.toList()));
|
|
|
+ indexByApprovalVO.setApprovalList(list.stream()
|
|
|
+ .filter(i -> StringUtil.isNotBlank(i.getApproval()))
|
|
|
+ .map(MappingConfigWrapper::getApproval)
|
|
|
+ .distinct()
|
|
|
+ .collect(Collectors.toList()));
|
|
|
+
|
|
|
+ if(ListUtil.isEmpty(indexByApprovalVO.getApprovalList())){
|
|
|
+ return list;
|
|
|
+ }
|
|
|
|
|
|
RespDTO<List<IndexBatchDTO>> respDTO = cdssCoreClient.indexByApproval(indexByApprovalVO);
|
|
|
RespDTOUtil.respNGDealCover(respDTO, "标准术语校验失败");
|