新增装备增加校验日期 校验周期
This commit is contained in:
parent
d6c57e633a
commit
1cbe46ab23
|
|
@ -13,6 +13,7 @@ import lombok.experimental.Accessors;
|
||||||
import javax.validation.constraints.*;
|
import javax.validation.constraints.*;
|
||||||
import java.math.BigDecimal;
|
import java.math.BigDecimal;
|
||||||
import java.util.ArrayList;
|
import java.util.ArrayList;
|
||||||
|
import java.util.Date;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
@ -236,4 +237,11 @@ public class DevInfo extends BaseEntity {
|
||||||
@ApiModelProperty(value = "上传人id")
|
@ApiModelProperty(value = "上传人id")
|
||||||
private Long ownId;
|
private Long ownId;
|
||||||
|
|
||||||
|
@ApiModelProperty(value = "校验日期")
|
||||||
|
@JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
|
||||||
|
private Date checkDate;
|
||||||
|
|
||||||
|
@ApiModelProperty(value = "校验周期")
|
||||||
|
private Integer checkCycle;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -296,6 +296,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||||
<if test="isActive != null and isActive != ''">is_active,</if>
|
<if test="isActive != null and isActive != ''">is_active,</if>
|
||||||
<if test="updateBy != null and updateBy != ''">update_by,</if>
|
<if test="updateBy != null and updateBy != ''">update_by,</if>
|
||||||
<if test="ownId != null">own_id,</if>
|
<if test="ownId != null">own_id,</if>
|
||||||
|
<if test="checkDate != null">check_date,</if>
|
||||||
|
<if test="checkCycle != null">check_cycle,</if>
|
||||||
</trim>
|
</trim>
|
||||||
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
||||||
<if test="deviceName != null and deviceName != ''">#{deviceName},</if>
|
<if test="deviceName != null and deviceName != ''">#{deviceName},</if>
|
||||||
|
|
@ -332,6 +334,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||||
<if test="isActive != null and isActive != ''">#{isActive},</if>
|
<if test="isActive != null and isActive != ''">#{isActive},</if>
|
||||||
<if test="updateBy != null and updateBy != ''">#{updateBy},</if>
|
<if test="updateBy != null and updateBy != ''">#{updateBy},</if>
|
||||||
<if test="ownId != null">#{ownId},</if>
|
<if test="ownId != null">#{ownId},</if>
|
||||||
|
<if test="checkDate != null">#{checkDate},</if>
|
||||||
|
<if test="checkCycle != null">#{checkCycle},</if>
|
||||||
</trim>
|
</trim>
|
||||||
</insert>
|
</insert>
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue