|
@@ -2585,6 +2585,8 @@ public class ZhcxCommissionCheckServiceImpl extends ServiceImpl<ZhcxCommissionCh
|
|
|
} else if (colIdx == 8) {
|
|
|
detail.setNotes(cellVal);
|
|
|
}
|
|
|
+
|
|
|
+ delpids.add(templateDo.getId());
|
|
|
colIdx++;
|
|
|
}
|
|
|
detailList.add(detail);
|
|
@@ -2670,13 +2672,13 @@ public class ZhcxCommissionCheckServiceImpl extends ServiceImpl<ZhcxCommissionCh
|
|
|
boolean bool3 = true;
|
|
|
boolean bool4 = true;
|
|
|
if (detailList.size() > 0) {
|
|
|
- bool2 = zhcxCoreInspectionDetailService.saveOrUpdateBatch(detailList);
|
|
|
+ bool2 = zhcxCoreInspectionDetailService.saveBatch(detailList);
|
|
|
}
|
|
|
if (beforeList.size() > 0) {
|
|
|
- bool3 = zhcxCheckBeforeQualifiedService.saveOrUpdateBatch(beforeList);
|
|
|
+ bool3 = zhcxCheckBeforeQualifiedService.saveBatch(beforeList);
|
|
|
}
|
|
|
if (sysFileItemDoList.size() > 0) {
|
|
|
- bool4 = sysFileItemService.saveOrUpdateBatch(sysFileItemDoList);
|
|
|
+ bool4 = sysFileItemService.saveBatch(sysFileItemDoList);
|
|
|
}
|
|
|
if (bool1 && bool2 && bool3 && bool4) {
|
|
|
return R.ok("核心检验指标导入成功");
|