Commit 2d187912 authored by tianyiming's avatar tianyiming

一码通总览修改

parent 353404ef
...@@ -904,7 +904,9 @@ public class EquipmentCategoryServiceImpl extends BaseService<EquipmentCategoryD ...@@ -904,7 +904,9 @@ public class EquipmentCategoryServiceImpl extends BaseService<EquipmentCategoryD
if (!ObjectUtils.isEmpty(unitCodes)) { if (!ObjectUtils.isEmpty(unitCodes)) {
equipmentCategoryDataMapper.delete(new QueryWrapper<EquipmentCategoryData>().in("unit_code", unitCodes)); equipmentCategoryDataMapper.delete(new QueryWrapper<EquipmentCategoryData>().in("unit_code", unitCodes));
} }
equipmentCategoryDataService.saveOrUpdateBatch(list); if (!ObjectUtils.isEmpty(list)) {
equipmentCategoryDataService.saveOrUpdateBatch(list);
}
stopWatch.stop(); stopWatch.stop();
if (log.isInfoEnabled()) { if (log.isInfoEnabled()) {
log.info("总览数据刷新结束,耗时:{} 秒", stopWatch.getTotalTimeSeconds()); log.info("总览数据刷新结束,耗时:{} 秒", stopWatch.getTotalTimeSeconds());
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment