From 1007d7b724fcc08c6289a8980139ed2edc2f6831 Mon Sep 17 00:00:00 2001 From: duwenyuan <15600000461@163.com> Date: Wed, 7 Jan 2026 20:43:54 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9Mapper=E6=96=87=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../xml/ThresholdRnAutoResultMapper.xml | 46 +++++++++++++- .../mapper/xml/ThresholdCalculatorMapper.xml | 9 +++ .../mapper/SpectrumAnalysisMapper.java | 11 +++- .../mapper/xml/SpectrumAnalysisMapper.xml | 62 +++++++++++++++++++ 4 files changed, 125 insertions(+), 3 deletions(-) create mode 100644 jeecg-module-auto-process/src/main/java/org/jeecg/modules/mapper/xml/ThresholdCalculatorMapper.xml diff --git a/jeecg-boot-base-core/src/main/java/org/jeecg/modules/base/mapper/xml/ThresholdRnAutoResultMapper.xml b/jeecg-boot-base-core/src/main/java/org/jeecg/modules/base/mapper/xml/ThresholdRnAutoResultMapper.xml index 857e3e3d..947593f5 100644 --- a/jeecg-boot-base-core/src/main/java/org/jeecg/modules/base/mapper/xml/ThresholdRnAutoResultMapper.xml +++ b/jeecg-boot-base-core/src/main/java/org/jeecg/modules/base/mapper/xml/ThresholdRnAutoResultMapper.xml @@ -34,7 +34,7 @@ - SELECT a.STATION_ID as STATION_ID, a.SAMPLE_ID as SAMPLE_ID, @@ -63,7 +63,51 @@ AND a.TRANSMIT_DTG > TO_DATE(#{oneYearAgo}, 'yyyy-mm-dd hh24:mi:ss') + \ No newline at end of file diff --git a/jeecg-module-auto-process/src/main/java/org/jeecg/modules/mapper/xml/ThresholdCalculatorMapper.xml b/jeecg-module-auto-process/src/main/java/org/jeecg/modules/mapper/xml/ThresholdCalculatorMapper.xml new file mode 100644 index 00000000..9c2bab1f --- /dev/null +++ b/jeecg-module-auto-process/src/main/java/org/jeecg/modules/mapper/xml/ThresholdCalculatorMapper.xml @@ -0,0 +1,9 @@ + + + + + \ No newline at end of file diff --git a/jeecg-module-spectrum-analysis/src/main/java/org/jeecg/modules/mapper/SpectrumAnalysisMapper.java b/jeecg-module-spectrum-analysis/src/main/java/org/jeecg/modules/mapper/SpectrumAnalysisMapper.java index 30c4db79..9df47ed0 100644 --- a/jeecg-module-spectrum-analysis/src/main/java/org/jeecg/modules/mapper/SpectrumAnalysisMapper.java +++ b/jeecg-module-spectrum-analysis/src/main/java/org/jeecg/modules/mapper/SpectrumAnalysisMapper.java @@ -14,6 +14,7 @@ import org.jeecg.modules.entity.*; import org.jeecg.modules.entity.vo.*; import java.util.List; +import java.util.Map; @Mapper public interface SpectrumAnalysisMapper { @@ -91,7 +92,7 @@ public interface SpectrumAnalysisMapper { List UserNuclide(@Param(value = "systemType") String systemType, @Param(value = "userName") String userName); - Integer getAnalysisID(@Param(value = "dbName") String dbName, @Param(value = "sampleId") Integer sampleId, @Param(value = "userName") String userName); + Integer getAnalysisID(@Param(value = "dbName") String dbName, @Param(value = "sampleId") Integer sampleId, @Param(value = "userName") String userName); List ReadGammaFitChannelEnergy(@Param(value = "idAnalysis") Integer idAnalysis); @@ -125,7 +126,7 @@ public interface SpectrumAnalysisMapper { List findNuclideList(@Param(value = "min") Double min, @Param(value = "max") Double max, @Param(value = "nuclides") List nuclides); - List getNuclideTable( @Param(value = "name") String name, @Param(value = "span") Long span); + List getNuclideTable(@Param(value = "name") String name, @Param(value = "span") Long span); List getPossibleNuclide(@Param(value = "nuclides") List nuclides, @Param(value = "min") double min, @Param(value = "max") double max); @@ -188,4 +189,10 @@ public interface SpectrumAnalysisMapper { List findNuclidesAnalysis(); + List> selectThresholdDataBySampleId(@Param("schemaName") String schemaName, @Param("sampleId") String sampleId); + + List selectThresholdHistoryBySampleId(@Param("schemaName") String schemaName, @Param("sampleId") String sampleId); + + List selectXeDataPastYear( @Param("schemaName") String schemaName, @Param("sampleId") String sampleId,@Param(value = "userName") String userName); + } diff --git a/jeecg-module-spectrum-analysis/src/main/java/org/jeecg/modules/mapper/xml/SpectrumAnalysisMapper.xml b/jeecg-module-spectrum-analysis/src/main/java/org/jeecg/modules/mapper/xml/SpectrumAnalysisMapper.xml index 5f4ce97f..a295135e 100644 --- a/jeecg-module-spectrum-analysis/src/main/java/org/jeecg/modules/mapper/xml/SpectrumAnalysisMapper.xml +++ b/jeecg-module-spectrum-analysis/src/main/java/org/jeecg/modules/mapper/xml/SpectrumAnalysisMapper.xml @@ -1175,4 +1175,66 @@ select NAME from CONFIGURATION.GARDS_NUCL_LIB + + + + + + + + + + \ No newline at end of file