From 6f0f7a5660f17b1281f35911a838d3831f9aa0c3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E7=8E=8B=E5=85=B4=E7=90=B3?= <1911390090@qq.com>
Date: Wed, 24 Jan 2024 16:25:32 +0800
Subject: [PATCH] =?UTF-8?q?=E4=BA=8B=E4=BB=B6=E6=9F=A5=E8=AF=A2=E8=AF=A6?=
=?UTF-8?q?=E6=83=85=20=E6=9C=BA=E6=9E=84=20=E9=AB=98=E9=80=9F=E5=90=8D?=
=?UTF-8?q?=E7=A7=B0=20=E8=BD=A6=E9=81=93?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../controller/DcEventController.java | 1 +
.../java/com/zc/business/domain/DcEvent.java | 20 ++
.../mapper/business/DcEventMapper.xml | 221 ++++++++++--------
3 files changed, 140 insertions(+), 102 deletions(-)
diff --git a/zc-business/src/main/java/com/zc/business/controller/DcEventController.java b/zc-business/src/main/java/com/zc/business/controller/DcEventController.java
index db486cba..fb255909 100644
--- a/zc-business/src/main/java/com/zc/business/controller/DcEventController.java
+++ b/zc-business/src/main/java/com/zc/business/controller/DcEventController.java
@@ -57,6 +57,7 @@ public class DcEventController extends BaseController
return getDataTable(list);
}
+
/**调度记录-事件列表 按时间展示交通事件。默认当天时间 。可查询条件 交通事件状态 ,时间范围
*
*/
diff --git a/zc-business/src/main/java/com/zc/business/domain/DcEvent.java b/zc-business/src/main/java/com/zc/business/domain/DcEvent.java
index 111e8c88..0847569b 100644
--- a/zc-business/src/main/java/com/zc/business/domain/DcEvent.java
+++ b/zc-business/src/main/java/com/zc/business/domain/DcEvent.java
@@ -188,6 +188,26 @@ public class DcEvent extends BaseEntity {
@ApiModelProperty("高速公路")
private Long roadId;
+ /**
+ * 2024-1-24新增
+ */
+ @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
+ @ApiModelProperty("发生时间")
+ private Date occurrenceTime;
+ @ApiModelProperty("是否是感知事件 0 表示 false,1 表示 true")
+ private Integer isPerceived;
+ @ApiModelProperty("影响车道")
+ private Long lang;
+ @ApiModelProperty("高速名")
+ @TableField(exist = false)
+ private String roadName;
+ @ApiModelProperty("机构")
+ @TableField(exist = false)
+ private String organizationName;
+
+ /**
+ *
+ */
@ApiModelProperty("事件详情参数")
@TableField(exist = false)
private DcEventMap dcEventMap;
diff --git a/zc-business/src/main/resources/mapper/business/DcEventMapper.xml b/zc-business/src/main/resources/mapper/business/DcEventMapper.xml
index 5b2a7e8c..7180adbe 100644
--- a/zc-business/src/main/resources/mapper/business/DcEventMapper.xml
+++ b/zc-business/src/main/resources/mapper/business/DcEventMapper.xml
@@ -27,6 +27,7 @@
+
@@ -56,6 +57,11 @@
+
+
+
+
+
@@ -313,111 +319,119 @@
@@ -446,6 +460,7 @@
event_source_tips,
in_tunnel,
road_id,
+ lang,
#{id},
@@ -470,6 +485,7 @@
#{eventSourceTips},
#{inTunnel},
#{roadId},
+ #{lang},
@@ -497,6 +513,7 @@
event_source_tips = #{eventSourceTips},
in_tunnel = #{inTunnel},
road_id = #{roadId},
+ road_id = #{lang},
where id = #{id}