From 543c04b5cc5c23a5b4a9d3cca32d9f78881a99ad Mon Sep 17 00:00:00 2001 From: wangsixiang <2970484253@qq.com> Date: Mon, 4 Mar 2024 11:23:38 +0800 Subject: [PATCH] =?UTF-8?q?=E5=91=8A=E8=AD=A6=E4=BA=8B=E4=BB=B6=E8=AF=A6?= =?UTF-8?q?=E6=83=85=E6=96=B0=E5=A2=9E=E5=AD=97=E6=AE=B5=E5=AE=8C=E7=BB=93?= =?UTF-8?q?=E6=97=B6=E9=97=B4=E3=80=81=E4=BA=8B=E4=BB=B6=E5=8E=9F=E5=9B=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../com/zc/business/domain/DcWarning.java | 37 ++++++++++++++++++- .../DcPerceivedEventsWarningMapper.xml | 6 ++- .../mapper/business/DcWarningMapper.xml | 2 +- 3 files changed, 41 insertions(+), 4 deletions(-) diff --git a/zc-business/src/main/java/com/zc/business/domain/DcWarning.java b/zc-business/src/main/java/com/zc/business/domain/DcWarning.java index 1ac24f4c..216588f9 100644 --- a/zc-business/src/main/java/com/zc/business/domain/DcWarning.java +++ b/zc-business/src/main/java/com/zc/business/domain/DcWarning.java @@ -96,11 +96,46 @@ public class DcWarning extends BaseEntity @JsonFormat(pattern = "yyyy-MM-dd",timezone="GMT+8") private Date startTime; + @JsonFormat(pattern = "yyyy-MM-dd",timezone="GMT+8") - private Date endTime; + private Date completeTime; //月度参数 private String quarter; + //事件原因 + @Excel(name = "事件原因") + private String eventCause; + //完结时间 + @Excel(name = "完结时间") + @JsonFormat(pattern = "yyyy-MM-dd",timezone="GMT+8") + private Date endTime; + //操作员 + private String userName; + + public String getUserName() { + return userName; + } + + public void setUserName(String userName) { + this.userName = userName; + } + + public Date getCompleteTime() { + return completeTime; + } + + public void setCompleteTime(Date completeTime) { + this.completeTime = completeTime; + } + + public String getEventCause() { + return eventCause; + } + + public void setEventCause(String eventCause) { + this.eventCause = eventCause; + } + public String getQuarter() { return quarter; } diff --git a/zc-business/src/main/resources/mapper/business/DcPerceivedEventsWarningMapper.xml b/zc-business/src/main/resources/mapper/business/DcPerceivedEventsWarningMapper.xml index 167fc1b8..24dd0c0e 100644 --- a/zc-business/src/main/resources/mapper/business/DcPerceivedEventsWarningMapper.xml +++ b/zc-business/src/main/resources/mapper/business/DcPerceivedEventsWarningMapper.xml @@ -16,6 +16,7 @@ diff --git a/zc-business/src/main/resources/mapper/business/DcWarningMapper.xml b/zc-business/src/main/resources/mapper/business/DcWarningMapper.xml index ad3d5986..d8b6a869 100644 --- a/zc-business/src/main/resources/mapper/business/DcWarningMapper.xml +++ b/zc-business/src/main/resources/mapper/business/DcWarningMapper.xml @@ -60,7 +60,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" where id = #{id}