From e6d937ab175f64e33802570be48c79be620564db Mon Sep 17 00:00:00 2001 From: zpl Date: Mon, 12 Jul 2021 13:42:52 +0800 Subject: [PATCH] =?UTF-8?q?=E8=AE=BE=E5=A4=87=E7=82=B9=E6=A3=80=E3=80=81?= =?UTF-8?q?=E7=BB=B4=E4=BF=AE=E6=A8=A1=E5=9D=97=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../equip/model/ResourceRepairTask.java | 20 ++++++------- .../impl/ResourceRepairTaskServiceImpl.java | 9 +++--- .../mapper/ResourceRepairTaskMapper.xml | 29 +++++++++++-------- 3 files changed, 32 insertions(+), 26 deletions(-) diff --git a/equip/src/main/java/com/foreverwin/mesnac/equip/model/ResourceRepairTask.java b/equip/src/main/java/com/foreverwin/mesnac/equip/model/ResourceRepairTask.java index 07721003..ea5734e0 100644 --- a/equip/src/main/java/com/foreverwin/mesnac/equip/model/ResourceRepairTask.java +++ b/equip/src/main/java/com/foreverwin/mesnac/equip/model/ResourceRepairTask.java @@ -281,12 +281,12 @@ public class ResourceRepairTask extends Model { * 比较时间,起 */ @TableField(exist = false) - private LocalDateTime compareStartTime; + private String compareStartDate; /** * 比较时间,终 */ @TableField(exist = false) - private LocalDateTime compareEndTime; + private String compareEndDate; /** * 备品清单 */ @@ -387,20 +387,20 @@ public class ResourceRepairTask extends Model { this.workCenterDescription = workCenterDescription; } - public LocalDateTime getCompareStartTime() { - return compareStartTime; + public String getCompareStartDate() { + return compareStartDate; } - public void setCompareStartTime(LocalDateTime compareStartTime) { - this.compareStartTime = compareStartTime; + public void setCompareStartDate(String compareStartDate) { + this.compareStartDate = compareStartDate; } - public LocalDateTime getCompareEndTime() { - return compareEndTime; + public String getCompareEndDate() { + return compareEndDate; } - public void setCompareEndTime(LocalDateTime compareEndTime) { - this.compareEndTime = compareEndTime; + public void setCompareEndDate(String compareEndDate) { + this.compareEndDate = compareEndDate; } public Integer getSeq() { diff --git a/equip/src/main/java/com/foreverwin/mesnac/equip/service/impl/ResourceRepairTaskServiceImpl.java b/equip/src/main/java/com/foreverwin/mesnac/equip/service/impl/ResourceRepairTaskServiceImpl.java index c0e8a233..a925e9f6 100644 --- a/equip/src/main/java/com/foreverwin/mesnac/equip/service/impl/ResourceRepairTaskServiceImpl.java +++ b/equip/src/main/java/com/foreverwin/mesnac/equip/service/impl/ResourceRepairTaskServiceImpl.java @@ -200,12 +200,13 @@ public class ResourceRepairTaskServiceImpl extends ServiceImpl spareList = resourceRepairTask.getSpareList(); diff --git a/equip/src/main/resources/mapper/ResourceRepairTaskMapper.xml b/equip/src/main/resources/mapper/ResourceRepairTaskMapper.xml index 63981e3e..1ddfdec2 100644 --- a/equip/src/main/resources/mapper/ResourceRepairTaskMapper.xml +++ b/equip/src/main/resources/mapper/ResourceRepairTaskMapper.xml @@ -883,16 +883,20 @@