diff --git a/hzims-service-api/safeproduct-api/src/main/java/com/hnac/hzims/safeproduct/entity/CarAnnualInspectionEntity.java b/hzims-service-api/safeproduct-api/src/main/java/com/hnac/hzims/safeproduct/entity/CarAnnualInspectionEntity.java index 985c89c..6c9ce60 100644 --- a/hzims-service-api/safeproduct-api/src/main/java/com/hnac/hzims/safeproduct/entity/CarAnnualInspectionEntity.java +++ b/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("编码") private String code; - @JsonFormat(pattern = DateUtil.PATTERN_DATETIME) + @JsonFormat(pattern = DateUtil.PATTERN_DATE) @ApiModelProperty("年检时间") private Date annualInspectionTime; @@ -43,6 +43,6 @@ public class CarAnnualInspectionEntity extends BaseEntity { private String imgPath; @ApiModelProperty("下次年检时间") - @JsonFormat(pattern = DateUtil.PATTERN_DATETIME) + @JsonFormat(pattern = DateUtil.PATTERN_DATE) private Date nextAnnualInspectionTime; }