日期格式校验修改

This commit is contained in:
liang.chao 2024-12-05 11:10:48 +08:00
parent bb51e50555
commit f9797ff89b
1 changed files with 1 additions and 1 deletions

View File

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