From 743da3b207c32db1cb5ab8ed5fe7acc2a373ba02 Mon Sep 17 00:00:00 2001
From: duwenyuan <15600000461@163.com>
Date: Mon, 30 Jun 2025 10:52:49 +0800
Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9createBatch=E4=BD=BF=E7=94=A8?=
=?UTF-8?q?=E8=87=AA=E5=B8=A6=E5=87=BD=E6=95=B0saveBatch=E4=BF=9D=E5=AD=98?=
=?UTF-8?q?=E4=BF=A1=E6=81=AF?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../mapper/xml/GardsCalibrationMapper.xml | 26 -------------------
.../impl/GardsCalibrationServiceImpl.java | 2 +-
2 files changed, 1 insertion(+), 27 deletions(-)
diff --git a/jeecg-module-auto-process/src/main/java/org/jeecg/modules/mapper/xml/GardsCalibrationMapper.xml b/jeecg-module-auto-process/src/main/java/org/jeecg/modules/mapper/xml/GardsCalibrationMapper.xml
index 3919453d..4923887a 100644
--- a/jeecg-module-auto-process/src/main/java/org/jeecg/modules/mapper/xml/GardsCalibrationMapper.xml
+++ b/jeecg-module-auto-process/src/main/java/org/jeecg/modules/mapper/xml/GardsCalibrationMapper.xml
@@ -31,32 +31,6 @@
#{calibration.moddate})
-
- insert into RNAUTO.GARDS_CALIBRATION(
- SAMPLE_ID,
- IDANALYSIS,
- SAMPLE_TYPE,
- CALTYPE,
- FUNCTION,
- FUNCTIONDEF,
- STARTOFRANGE,
- ENDOFRANGE,
- COEFF_STRING,
- moddate)
- values
-
- (#{calibration.sampleId},
- #{calibration.idAnalysis},
- #{calibration.sampleType},
- #{calibration.calType},
- #{calibration.function},
- #{calibration.functionDef},
- #{calibration.startOfRange},
- #{calibration.endOfRange},
- #{calibration.coeffString},
- #{calibration.moddate})
-
-
\ No newline at end of file
diff --git a/jeecg-module-auto-process/src/main/java/org/jeecg/modules/service/impl/GardsCalibrationServiceImpl.java b/jeecg-module-auto-process/src/main/java/org/jeecg/modules/service/impl/GardsCalibrationServiceImpl.java
index 715c2060..ad627226 100644
--- a/jeecg-module-auto-process/src/main/java/org/jeecg/modules/service/impl/GardsCalibrationServiceImpl.java
+++ b/jeecg-module-auto-process/src/main/java/org/jeecg/modules/service/impl/GardsCalibrationServiceImpl.java
@@ -40,7 +40,7 @@ public class GardsCalibrationServiceImpl extends ServiceImpl calibrations) {
- this.baseMapper.createBatch(calibrations);
+ this.saveBatch(calibrations);
}
/**