From d212b563ea968e917bfae8d3edf75c05dff65d26 Mon Sep 17 00:00:00 2001 From: guo Date: Thu, 14 Mar 2024 17:19:35 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B5=B7=E5=BA=B7=E9=97=A8=E7=A6=81sdk?= =?UTF-8?q?=E5=AF=B9=E6=8E=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../dangerous/entity/DangerousEngineeringRecord.java | 8 ++++---- .../modules/rt/mapper/xml/RtToolHistoryMapper.xml | 12 ++++++------ .../zhgd/xmgl/modules/rt/mapper/xml/RtToolMapper.xml | 12 ++++++------ 3 files changed, 16 insertions(+), 16 deletions(-) diff --git a/src/main/java/com/zhgd/xmgl/modules/dangerous/entity/DangerousEngineeringRecord.java b/src/main/java/com/zhgd/xmgl/modules/dangerous/entity/DangerousEngineeringRecord.java index 1c674fd41..13f8578c8 100644 --- a/src/main/java/com/zhgd/xmgl/modules/dangerous/entity/DangerousEngineeringRecord.java +++ b/src/main/java/com/zhgd/xmgl/modules/dangerous/entity/DangerousEngineeringRecord.java @@ -26,7 +26,7 @@ import io.swagger.annotations.ApiModelProperty; @ApiModel(value="DangerousEngineeringRecord实体类",description="DangerousEngineeringRecord") public class DangerousEngineeringRecord implements Serializable { private static final long serialVersionUID = 1L; - + /**id*/ @TableId(type = IdType.ASSIGN_ID) @ApiModelProperty(value="id") @@ -130,7 +130,7 @@ public class DangerousEngineeringRecord implements Serializable { @ApiModelProperty(value="类别描述列表") private List typeDescribeList; - @TableField(exist = false) - @ApiModelProperty(value="管控要点明细ID列表") - private List controlItemList; + @TableField(exist = false) + @ApiModelProperty(value = "管控要点明细ID列表") + private List controlItemList; } diff --git a/src/main/java/com/zhgd/xmgl/modules/rt/mapper/xml/RtToolHistoryMapper.xml b/src/main/java/com/zhgd/xmgl/modules/rt/mapper/xml/RtToolHistoryMapper.xml index aa59b05c0..cfd2b5165 100644 --- a/src/main/java/com/zhgd/xmgl/modules/rt/mapper/xml/RtToolHistoryMapper.xml +++ b/src/main/java/com/zhgd/xmgl/modules/rt/mapper/xml/RtToolHistoryMapper.xml @@ -3,8 +3,8 @@ @@ -15,7 +15,7 @@ from rt_tool_history where project_sn = #{projectSn} - and entry_time >= date_sub(current_date,interval 8 day) + and entry_time >= date_sub(current_date,interval 8 day) and tool_status = 1 group by day )t1 left join ( @@ -23,7 +23,7 @@ from rt_tool_history where project_sn = #{projectSn} - and exit_time >= date_sub(current_date,interval 8 day) + and exit_time >= date_sub(current_date,interval 8 day) and tool_status = 2 group by day )t2 on t1.day=t2.day @@ -33,7 +33,7 @@ from rt_tool_history where project_sn = #{projectSn} - and entry_time >= date_sub(current_date,interval 8 day) + and entry_time >= date_sub(current_date,interval 8 day) and tool_status = 1 group by day )t1 right join ( @@ -41,7 +41,7 @@ from rt_tool_history where project_sn = #{projectSn} - and exit_time >= date_sub(current_date,interval 8 day) + and exit_time >= date_sub(current_date,interval 8 day) and tool_status = 2 group by day )t2 on t1.day=t2.day diff --git a/src/main/java/com/zhgd/xmgl/modules/rt/mapper/xml/RtToolMapper.xml b/src/main/java/com/zhgd/xmgl/modules/rt/mapper/xml/RtToolMapper.xml index 09420e24e..f7e571585 100644 --- a/src/main/java/com/zhgd/xmgl/modules/rt/mapper/xml/RtToolMapper.xml +++ b/src/main/java/com/zhgd/xmgl/modules/rt/mapper/xml/RtToolMapper.xml @@ -4,8 +4,8 @@ @@ -16,7 +16,7 @@ from rt_tool where project_sn = #{projectSn} - and entry_time >= date_sub(current_date,interval 8 day) + and entry_time >= date_sub(current_date,interval 8 day) and tool_status = 1 group by day )t1 left join ( @@ -24,7 +24,7 @@ from rt_tool where project_sn = #{projectSn} - and exit_time >= date_sub(current_date,interval 8 day) + and exit_time >= date_sub(current_date,interval 8 day) and tool_status = 2 group by day )t2 on t1.day=t2.day @@ -34,7 +34,7 @@ from rt_tool where project_sn = #{projectSn} - and entry_time >= date_sub(current_date,interval 8 day) + and entry_time >= date_sub(current_date,interval 8 day) and tool_status = 1 group by day )t1 right join ( @@ -42,7 +42,7 @@ from rt_tool where project_sn = #{projectSn} - and exit_time >= date_sub(current_date,interval 8 day) + and exit_time >= date_sub(current_date,interval 8 day) and tool_status = 2 group by day )t2 on t1.day=t2.day