From 1cbe46ab23e1296c41a13165741099e301056cb6 Mon Sep 17 00:00:00 2001 From: "liang.chao" <1360241448@qq.com> Date: Wed, 4 Dec 2024 10:58:42 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9E=E8=A3=85=E5=A4=87=E5=A2=9E?= =?UTF-8?q?=E5=8A=A0=E6=A0=A1=E9=AA=8C=E6=97=A5=E6=9C=9F=20=E6=A0=A1?= =?UTF-8?q?=E9=AA=8C=E5=91=A8=E6=9C=9F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/com/bonus/material/device/domain/DevInfo.java | 8 ++++++++ .../resources/mapper/material/device/DevInfoMapper.xml | 4 ++++ 2 files changed, 12 insertions(+) diff --git a/bonus-modules/bonus-material-mall/src/main/java/com/bonus/material/device/domain/DevInfo.java b/bonus-modules/bonus-material-mall/src/main/java/com/bonus/material/device/domain/DevInfo.java index 03f889a..8b23094 100644 --- a/bonus-modules/bonus-material-mall/src/main/java/com/bonus/material/device/domain/DevInfo.java +++ b/bonus-modules/bonus-material-mall/src/main/java/com/bonus/material/device/domain/DevInfo.java @@ -13,6 +13,7 @@ import lombok.experimental.Accessors; import javax.validation.constraints.*; import java.math.BigDecimal; import java.util.ArrayList; +import java.util.Date; import java.util.List; /** @@ -236,4 +237,11 @@ public class DevInfo extends BaseEntity { @ApiModelProperty(value = "上传人id") private Long ownId; + @ApiModelProperty(value = "校验日期") + @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8") + private Date checkDate; + + @ApiModelProperty(value = "校验周期") + private Integer checkCycle; + } diff --git a/bonus-modules/bonus-material-mall/src/main/resources/mapper/material/device/DevInfoMapper.xml b/bonus-modules/bonus-material-mall/src/main/resources/mapper/material/device/DevInfoMapper.xml index dbcbd67..37a3175 100644 --- a/bonus-modules/bonus-material-mall/src/main/resources/mapper/material/device/DevInfoMapper.xml +++ b/bonus-modules/bonus-material-mall/src/main/resources/mapper/material/device/DevInfoMapper.xml @@ -296,6 +296,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" is_active, update_by, own_id, + check_date, + check_cycle, #{deviceName}, @@ -332,6 +334,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" #{isActive}, #{updateBy}, #{ownId}, + #{checkDate}, + #{checkCycle},