From a30a7d36272367bca6676558b89bba37d2879030 Mon Sep 17 00:00:00 2001 From: liukewei Date: Thu, 21 Dec 2023 15:26:45 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E9=A6=96=E9=A1=B5=E5=BC=B9?= =?UTF-8?q?=E5=87=BA=E6=9F=A5=E8=AF=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../domain/EhsHiddenDanger.java | 3 + .../vo/EhsIndexStatistics.java | 4 + .../ehsIndexStatistics/vo/HiddenDangerVo.java | 2 + .../mapper/ehs/EhsHiddenDangerMapper.xml | 1 + .../mapper/ehs/EhsIndexStatisticsMapper.xml | 4 +- ruoyi-ui/src/views/index.vue | 211 ++++++------------ 6 files changed, 87 insertions(+), 138 deletions(-) diff --git a/ruoyi-system/src/main/java/com/ruoyi/ehsHiddenDanger/domain/EhsHiddenDanger.java b/ruoyi-system/src/main/java/com/ruoyi/ehsHiddenDanger/domain/EhsHiddenDanger.java index e01a375..d47af5e 100644 --- a/ruoyi-system/src/main/java/com/ruoyi/ehsHiddenDanger/domain/EhsHiddenDanger.java +++ b/ruoyi-system/src/main/java/com/ruoyi/ehsHiddenDanger/domain/EhsHiddenDanger.java @@ -133,4 +133,7 @@ public class EhsHiddenDanger extends BaseEntity private String economicType; @Excel(name = "企业规模") private String enterpriseScale; + + @TableField(exist = false) + private String isOverTime;//是否超时未整改 } diff --git a/ruoyi-system/src/main/java/com/ruoyi/ehsIndexStatistics/vo/EhsIndexStatistics.java b/ruoyi-system/src/main/java/com/ruoyi/ehsIndexStatistics/vo/EhsIndexStatistics.java index 7a35723..87d1e77 100644 --- a/ruoyi-system/src/main/java/com/ruoyi/ehsIndexStatistics/vo/EhsIndexStatistics.java +++ b/ruoyi-system/src/main/java/com/ruoyi/ehsIndexStatistics/vo/EhsIndexStatistics.java @@ -53,4 +53,8 @@ public class EhsIndexStatistics { */ private String rectifyRate; + /** + * 隐患等级 + */ + private String hiddenDangerGrade; } diff --git a/ruoyi-system/src/main/java/com/ruoyi/ehsIndexStatistics/vo/HiddenDangerVo.java b/ruoyi-system/src/main/java/com/ruoyi/ehsIndexStatistics/vo/HiddenDangerVo.java index 2e126be..e2c2090 100644 --- a/ruoyi-system/src/main/java/com/ruoyi/ehsIndexStatistics/vo/HiddenDangerVo.java +++ b/ruoyi-system/src/main/java/com/ruoyi/ehsIndexStatistics/vo/HiddenDangerVo.java @@ -62,4 +62,6 @@ public class HiddenDangerVo extends BaseEntity { */ private String status; + private String isOverTime; //是否超期未整改 + private String isSupervise;//是否督办 } diff --git a/ruoyi-system/src/main/resources/mapper/ehs/EhsHiddenDangerMapper.xml b/ruoyi-system/src/main/resources/mapper/ehs/EhsHiddenDangerMapper.xml index 1682d46..922f7cd 100644 --- a/ruoyi-system/src/main/resources/mapper/ehs/EhsHiddenDangerMapper.xml +++ b/ruoyi-system/src/main/resources/mapper/ehs/EhsHiddenDangerMapper.xml @@ -65,6 +65,7 @@ and hidden_danger_type = #{hiddenDangerType} and FIND_IN_SET( #{assistDept}, assist_dept ) and area_id = #{areaId} + and STATUS != 10 AND rectify_term_time < NOW() AND diff --git a/ruoyi-system/src/main/resources/mapper/ehs/EhsIndexStatisticsMapper.xml b/ruoyi-system/src/main/resources/mapper/ehs/EhsIndexStatisticsMapper.xml index 75be674..aa17370 100644 --- a/ruoyi-system/src/main/resources/mapper/ehs/EhsIndexStatisticsMapper.xml +++ b/ruoyi-system/src/main/resources/mapper/ehs/EhsIndexStatisticsMapper.xml @@ -41,7 +41,7 @@