|
@@ -1115,7 +1115,9 @@ public class MappingConfigFacade extends MappingConfigServiceImpl {
|
|
|
deleteRecords(idListVO);
|
|
|
List<MappingConfig> saveList = BeanUtil.listCopyTo(tempList, MappingConfig.class);
|
|
|
saveList = saveList.stream().distinct().collect(Collectors.toList());
|
|
|
- mappingConfigService.saveOrUpdateBatch(saveList);
|
|
|
+ if (ListUtil.isNotEmpty(saveList)) {
|
|
|
+ mappingConfigService.saveOrUpdateBatch(saveList);
|
|
|
+ }
|
|
|
}
|
|
|
return true;
|
|
|
}
|