Browse Source

fix: 车辆台账年检时间格式化

zhongwei
haungxing 4 months ago
parent
commit
ebbb029582
  1. 4
      hzims-service-api/safeproduct-api/src/main/java/com/hnac/hzims/safeproduct/entity/CarAnnualInspectionEntity.java

4
hzims-service-api/safeproduct-api/src/main/java/com/hnac/hzims/safeproduct/entity/CarAnnualInspectionEntity.java

@ -30,7 +30,7 @@ public class CarAnnualInspectionEntity extends BaseEntity {
@ApiModelProperty("编码") @ApiModelProperty("编码")
private String code; private String code;
@JsonFormat(pattern = DateUtil.PATTERN_DATETIME) @JsonFormat(pattern = DateUtil.PATTERN_DATE)
@ApiModelProperty("年检时间") @ApiModelProperty("年检时间")
private Date annualInspectionTime; private Date annualInspectionTime;
@ -43,6 +43,6 @@ public class CarAnnualInspectionEntity extends BaseEntity {
private String imgPath; private String imgPath;
@ApiModelProperty("下次年检时间") @ApiModelProperty("下次年检时间")
@JsonFormat(pattern = DateUtil.PATTERN_DATETIME) @JsonFormat(pattern = DateUtil.PATTERN_DATE)
private Date nextAnnualInspectionTime; private Date nextAnnualInspectionTime;
} }

Loading…
Cancel
Save