|
@@ -2019,7 +2019,9 @@ public class ApsReportRecordsServiceImpl extends ServiceImpl<ApsReportRecordsDao
|
|
needInsertList.add(mach);
|
|
needInsertList.add(mach);
|
|
}
|
|
}
|
|
});
|
|
});
|
|
- apsReportMachiningService.saveBatch(needInsertList);
|
|
|
|
|
|
+ if (!needInsertList.isEmpty()) {
|
|
|
|
+ apsReportMachiningService.saveBatch(needInsertList);
|
|
|
|
+ }
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|