日期格式校验修改
This commit is contained in:
parent
bb51e50555
commit
f9797ff89b
|
|
@ -118,7 +118,7 @@ public class DevInfo extends BaseEntity {
|
||||||
/** 出厂日期 */
|
/** 出厂日期 */
|
||||||
@Excel(name = "出厂日期")
|
@Excel(name = "出厂日期")
|
||||||
@ApiModelProperty(value = "出厂日期")
|
@ApiModelProperty(value = "出厂日期")
|
||||||
@NotBlank
|
@NotNull
|
||||||
@JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
|
@JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
|
||||||
private Date productionDate;
|
private Date productionDate;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue