From ba3fffe7199094ff47d27593e72d4ba60f475689 Mon Sep 17 00:00:00 2001 From: duwenyuan <15600000461@163.com> Date: Sun, 28 Sep 2025 10:40:02 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E9=98=88=E5=80=BC=E8=AE=A1?= =?UTF-8?q?=E7=AE=97=E7=9B=B8=E5=85=B3=E5=AE=9E=E4=BD=93?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../base/entity/GardsNuclThresholds.java | 17 +++++++ .../base/entity/SampleGardsThreshold.java | 18 +++++++ .../base/entity/SampleIdentifiedNuclides.java | 23 +++++++++ .../modules/base/entity/StatisticsResult.java | 12 +++++ .../modules/base/entity/ThresholdMetric.java | 13 +++++ .../entity/rnauto/GardsSampleGrading.java | 47 +++++++++++++++++++ .../entity/rnauto/GardsThresholdResult.java | 27 +++++++++++ .../rnauto/GardsThresholdResultHistory.java | 29 ++++++++++++ .../base/entity/rnman/GardsSampleGrading.java | 43 +++++++++++++++++ .../entity/rnman/GardsThresholdResult.java | 27 +++++++++++ .../rnman/GardsThresholdResultHistory.java | 28 +++++++++++ 11 files changed, 284 insertions(+) create mode 100644 jeecg-boot-base-core/src/main/java/org/jeecg/modules/base/entity/GardsNuclThresholds.java create mode 100644 jeecg-boot-base-core/src/main/java/org/jeecg/modules/base/entity/SampleGardsThreshold.java create mode 100644 jeecg-boot-base-core/src/main/java/org/jeecg/modules/base/entity/SampleIdentifiedNuclides.java create mode 100644 jeecg-boot-base-core/src/main/java/org/jeecg/modules/base/entity/StatisticsResult.java create mode 100644 jeecg-boot-base-core/src/main/java/org/jeecg/modules/base/entity/ThresholdMetric.java create mode 100644 jeecg-boot-base-core/src/main/java/org/jeecg/modules/base/entity/rnauto/GardsSampleGrading.java create mode 100644 jeecg-boot-base-core/src/main/java/org/jeecg/modules/base/entity/rnauto/GardsThresholdResult.java create mode 100644 jeecg-boot-base-core/src/main/java/org/jeecg/modules/base/entity/rnauto/GardsThresholdResultHistory.java create mode 100644 jeecg-boot-base-core/src/main/java/org/jeecg/modules/base/entity/rnman/GardsSampleGrading.java create mode 100644 jeecg-boot-base-core/src/main/java/org/jeecg/modules/base/entity/rnman/GardsThresholdResult.java create mode 100644 jeecg-boot-base-core/src/main/java/org/jeecg/modules/base/entity/rnman/GardsThresholdResultHistory.java diff --git a/jeecg-boot-base-core/src/main/java/org/jeecg/modules/base/entity/GardsNuclThresholds.java b/jeecg-boot-base-core/src/main/java/org/jeecg/modules/base/entity/GardsNuclThresholds.java new file mode 100644 index 00000000..5e3c09d9 --- /dev/null +++ b/jeecg-boot-base-core/src/main/java/org/jeecg/modules/base/entity/GardsNuclThresholds.java @@ -0,0 +1,17 @@ +package org.jeecg.modules.base.entity; + +import lombok.Data; + +import java.io.Serializable; +import java.time.LocalDateTime; + +@Data +public class GardsNuclThresholds implements Serializable { + private String id; + private String sampleId; + private String stationId; + private Double thresholdValue; + private String nuclideName; + private LocalDateTime calculationTime; + +} \ No newline at end of file diff --git a/jeecg-boot-base-core/src/main/java/org/jeecg/modules/base/entity/SampleGardsThreshold.java b/jeecg-boot-base-core/src/main/java/org/jeecg/modules/base/entity/SampleGardsThreshold.java new file mode 100644 index 00000000..69f7574a --- /dev/null +++ b/jeecg-boot-base-core/src/main/java/org/jeecg/modules/base/entity/SampleGardsThreshold.java @@ -0,0 +1,18 @@ +package org.jeecg.modules.base.entity; + +import lombok.Data; + +import java.io.Serializable; + +@Data +public class SampleGardsThreshold implements Serializable { + + /** + * 样品id + */ + private Integer sampleId; + private String sampleType; + private Integer stationId; + private String Grading; + private String GradingStatus; +} diff --git a/jeecg-boot-base-core/src/main/java/org/jeecg/modules/base/entity/SampleIdentifiedNuclides.java b/jeecg-boot-base-core/src/main/java/org/jeecg/modules/base/entity/SampleIdentifiedNuclides.java new file mode 100644 index 00000000..03eeb4c6 --- /dev/null +++ b/jeecg-boot-base-core/src/main/java/org/jeecg/modules/base/entity/SampleIdentifiedNuclides.java @@ -0,0 +1,23 @@ +package org.jeecg.modules.base.entity; + +import lombok.Data; + +@Data +public class SampleIdentifiedNuclides { + + private Integer sampleId; + /** + * 分析ID号 + */ + + private Integer idAnalysis; + /** + * 核素名称 + */ + + private String nuclideName; + /** + * 活度浓度 + */ + private String concentration; +} \ No newline at end of file diff --git a/jeecg-boot-base-core/src/main/java/org/jeecg/modules/base/entity/StatisticsResult.java b/jeecg-boot-base-core/src/main/java/org/jeecg/modules/base/entity/StatisticsResult.java new file mode 100644 index 00000000..99ab72cf --- /dev/null +++ b/jeecg-boot-base-core/src/main/java/org/jeecg/modules/base/entity/StatisticsResult.java @@ -0,0 +1,12 @@ +package org.jeecg.modules.base.entity; + +import lombok.Data; + +@Data +public class StatisticsResult { + private String nuclideName; + private Double median; // 中位数 + private Double percentile25; // 25分位数 + private Double percentile75; // 75分位数 + private int dataCount; // 有效数据量 +} diff --git a/jeecg-boot-base-core/src/main/java/org/jeecg/modules/base/entity/ThresholdMetric.java b/jeecg-boot-base-core/src/main/java/org/jeecg/modules/base/entity/ThresholdMetric.java new file mode 100644 index 00000000..7a62d360 --- /dev/null +++ b/jeecg-boot-base-core/src/main/java/org/jeecg/modules/base/entity/ThresholdMetric.java @@ -0,0 +1,13 @@ +package org.jeecg.modules.base.entity; + +import lombok.Data; + +import java.io.Serializable; + +@Data +public class ThresholdMetric implements Serializable { + private Integer stationId; + private Integer sampleId; + private String nuclideName; + private String concentration; +} diff --git a/jeecg-boot-base-core/src/main/java/org/jeecg/modules/base/entity/rnauto/GardsSampleGrading.java b/jeecg-boot-base-core/src/main/java/org/jeecg/modules/base/entity/rnauto/GardsSampleGrading.java new file mode 100644 index 00000000..6c3dfd80 --- /dev/null +++ b/jeecg-boot-base-core/src/main/java/org/jeecg/modules/base/entity/rnauto/GardsSampleGrading.java @@ -0,0 +1,47 @@ +package org.jeecg.modules.base.entity.rnauto; + +import com.baomidou.mybatisplus.annotation.TableField; +import com.baomidou.mybatisplus.annotation.TableName; +import lombok.Data; + +@Data +@TableName("RNAUTO.GARDS_SAMPLE_GRADING") +public class GardsSampleGrading { + + /** + * 样品ID (对应 SAMPLE_ID) + */ + @TableField(value = "SAMPLE_ID") + private Long sampleId; + + /** + * 台站ID (对应 STATION_ID) + */ + @TableField(value = "STATION_ID") + private Long stationId; + + /** + * 分级结果 (对应 GRADING) + * 存储分级结果,如 "1", "2", "3" 等 + */ + @TableField(value = "GRADING") + private String grading; + + /** + * 分级状态 (对应 GRADING_STATUS) + * 0: 未处理 + * 1: 已处理 + * -1: 处理失败 + */ + @TableField(value = "GRADING_STATUS") + private Integer gradingStatus; + + /** + * 样品类型 (对应 SAMPLE_TYPE) + * P: 颗粒样品 + * B: 惰性气体样品 + */ + @TableField(value = "SAMPLE_TYPE") + private String sampleType; + +} diff --git a/jeecg-boot-base-core/src/main/java/org/jeecg/modules/base/entity/rnauto/GardsThresholdResult.java b/jeecg-boot-base-core/src/main/java/org/jeecg/modules/base/entity/rnauto/GardsThresholdResult.java new file mode 100644 index 00000000..a5cdf810 --- /dev/null +++ b/jeecg-boot-base-core/src/main/java/org/jeecg/modules/base/entity/rnauto/GardsThresholdResult.java @@ -0,0 +1,27 @@ +package org.jeecg.modules.base.entity.rnauto; + +import com.baomidou.mybatisplus.annotation.IdType; +import com.baomidou.mybatisplus.annotation.TableField; +import com.baomidou.mybatisplus.annotation.TableId; +import com.baomidou.mybatisplus.annotation.TableName; +import lombok.Data; + +import java.util.Date; + +@Data +@TableName("RNAUTO.GARDS_THRESHOLD_RESULT") +public class GardsThresholdResult { + @TableId(type = IdType.ASSIGN_ID) + private String id; + @TableField(value = "IDANALYSIS") + private Integer idAnalysis; + private String stationId; + @TableField("NUCLIDENAME") + private String nuclideName; + private Double thresholdValue; + private Double median; + private Double percentile25; + private Double percentile75; + @TableField(exist = false) + private Date calculationTime; +} diff --git a/jeecg-boot-base-core/src/main/java/org/jeecg/modules/base/entity/rnauto/GardsThresholdResultHistory.java b/jeecg-boot-base-core/src/main/java/org/jeecg/modules/base/entity/rnauto/GardsThresholdResultHistory.java new file mode 100644 index 00000000..5b07b2a4 --- /dev/null +++ b/jeecg-boot-base-core/src/main/java/org/jeecg/modules/base/entity/rnauto/GardsThresholdResultHistory.java @@ -0,0 +1,29 @@ +package org.jeecg.modules.base.entity.rnauto; + +import com.baomidou.mybatisplus.annotation.IdType; +import com.baomidou.mybatisplus.annotation.TableField; +import com.baomidou.mybatisplus.annotation.TableId; +import com.baomidou.mybatisplus.annotation.TableName; +import lombok.Data; + +import java.util.Date; + + +@Data +@TableName("RNAUTO.GARDS_THRESHOLD_RESULT_HIS") +public class GardsThresholdResultHistory { + @TableId(type = IdType.ASSIGN_ID) + private String id; + @TableField(value = "IDANALYSIS") + private Integer idAnalysis; + private String stationId; + @TableField("NUCLIDENAME") + private String nuclideName; + private Double thresholdValue; + private Double median; + private Double percentile25; + private Double percentile75; + @TableField(exist = false) + private Date calculationTime; + +} diff --git a/jeecg-boot-base-core/src/main/java/org/jeecg/modules/base/entity/rnman/GardsSampleGrading.java b/jeecg-boot-base-core/src/main/java/org/jeecg/modules/base/entity/rnman/GardsSampleGrading.java new file mode 100644 index 00000000..1da420ba --- /dev/null +++ b/jeecg-boot-base-core/src/main/java/org/jeecg/modules/base/entity/rnman/GardsSampleGrading.java @@ -0,0 +1,43 @@ +package org.jeecg.modules.base.entity.rnman; + + +import com.baomidou.mybatisplus.annotation.TableName; +import lombok.Data; + +@Data +@TableName("RNAMN.GARDS_SAMPLE_GRADING") +public class GardsSampleGrading { + + /** + * 样品ID (对应 SAMPLE_ID) + */ + private Long sampleId; + + /** + * 台站ID (对应 STATION_ID) + */ + private Long stationId; + + /** + * 分级结果 (对应 GRADING) + * 存储分级结果,如 "1", "2", "3" 等 + */ + private String grading; + + /** + * 分级状态 (对应 GRADING_STATUS) + * 0: 未处理 + * 1: 已处理 + * -1: 处理失败 + */ + private Integer gradingStatus; + + /** + * 样品类型 (对应 SAMPLE_TYPE) + * P: 颗粒样品 + * B: 惰性气体样品 + */ + private String sampleType; + +} + diff --git a/jeecg-boot-base-core/src/main/java/org/jeecg/modules/base/entity/rnman/GardsThresholdResult.java b/jeecg-boot-base-core/src/main/java/org/jeecg/modules/base/entity/rnman/GardsThresholdResult.java new file mode 100644 index 00000000..ac2ef381 --- /dev/null +++ b/jeecg-boot-base-core/src/main/java/org/jeecg/modules/base/entity/rnman/GardsThresholdResult.java @@ -0,0 +1,27 @@ +package org.jeecg.modules.base.entity.rnman; + +import com.baomidou.mybatisplus.annotation.IdType; +import com.baomidou.mybatisplus.annotation.TableField; +import com.baomidou.mybatisplus.annotation.TableId; +import com.baomidou.mybatisplus.annotation.TableName; +import lombok.Data; + +import java.util.Date; + +@Data +@TableName("RNMAN.GARDS_THRESHOLD_RESULT") +public class GardsThresholdResult { + @TableId(type = IdType.ASSIGN_ID) + private String id; + @TableField(value = "IDANALYSIS") + private Integer idAnalysis; + private String stationId; + @TableField("NUCLIDENAME") + private String nuclideName; + private Double thresholdValue; + private Double median; + private Double percentile25; + private Double percentile75; + @TableField(exist = false) + private Date calculationTime; +} diff --git a/jeecg-boot-base-core/src/main/java/org/jeecg/modules/base/entity/rnman/GardsThresholdResultHistory.java b/jeecg-boot-base-core/src/main/java/org/jeecg/modules/base/entity/rnman/GardsThresholdResultHistory.java new file mode 100644 index 00000000..5555d452 --- /dev/null +++ b/jeecg-boot-base-core/src/main/java/org/jeecg/modules/base/entity/rnman/GardsThresholdResultHistory.java @@ -0,0 +1,28 @@ +package org.jeecg.modules.base.entity.rnman; + +import com.baomidou.mybatisplus.annotation.IdType; +import com.baomidou.mybatisplus.annotation.TableField; +import com.baomidou.mybatisplus.annotation.TableId; +import com.baomidou.mybatisplus.annotation.TableName; +import lombok.Data; + +import java.util.Date; + +@Data +@TableName("RNMAN.GARDS_THRESHOLD_RESULT_HIS") +public class GardsThresholdResultHistory { + @TableId(type = IdType.ASSIGN_ID) + private String id; + @TableField(value = "IDANALYSIS") + private Integer idAnalysis; + private String stationId; + @TableField("NUCLIDENAME") + private String nuclideName; + private Double thresholdValue; + private Double median; + private Double percentile25; + private Double percentile75; + @TableField(exist = false) + private Date calculationTime; + +} \ No newline at end of file