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 @@