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},