fix:解决 calibration 为空数组执行 sql 报错问题
This commit is contained in:
parent
65ef853af3
commit
3fb212a3ef
|
@ -670,7 +670,9 @@ public class Sample_G_Analysis {
|
|||
calibration.setModdate(new Date());
|
||||
calibrations.add(calibration);
|
||||
}
|
||||
serviceQuotes.getGardsCalibrationService().createBatch(calibrations);
|
||||
if (calibrations.size() > 0) {
|
||||
serviceQuotes.getGardsCalibrationService().createBatch(calibrations);
|
||||
}
|
||||
}
|
||||
|
||||
public void savePeaks(GStoreMiddleProcessData middleData,Integer sampleId, Integer IdAnalysis){
|
||||
|
|
Loading…
Reference in New Issue
Block a user