Merge remote-tracking branch 'origin/station' into station

This commit is contained in:
qiaoqinzheng 2023-11-22 15:57:22 +08:00
commit 6d8e267079

View File

@ -670,7 +670,9 @@ public class Sample_G_Analysis {
calibration.setModdate(new Date()); calibration.setModdate(new Date());
calibrations.add(calibration); calibrations.add(calibration);
} }
serviceQuotes.getGardsCalibrationService().createBatch(calibrations); if (calibrations.size() > 0) {
serviceQuotes.getGardsCalibrationService().createBatch(calibrations);
}
} }
public void savePeaks(GStoreMiddleProcessData middleData,Integer sampleId, Integer IdAnalysis){ public void savePeaks(GStoreMiddleProcessData middleData,Integer sampleId, Integer IdAnalysis){