Showing
1 changed file
with
4 additions
and
0 deletions
| 1 | package com.lframework.xingyun.sc.vo.customer.credit; | 1 | package com.lframework.xingyun.sc.vo.customer.credit; |
| 2 | 2 | ||
| 3 | +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; | ||
| 4 | +import com.fasterxml.jackson.datatype.jsr310.deser.LocalDateDeserializer; | ||
| 3 | import lombok.Data; | 5 | import lombok.Data; |
| 4 | import java.math.BigDecimal; | 6 | import java.math.BigDecimal; |
| 5 | import javax.validation.constraints.NotBlank; | 7 | import javax.validation.constraints.NotBlank; |
| @@ -35,6 +37,7 @@ public class UpdateCustomerCreditVo implements BaseVo, Serializable { | @@ -35,6 +37,7 @@ public class UpdateCustomerCreditVo implements BaseVo, Serializable { | ||
| 35 | */ | 37 | */ |
| 36 | @ApiModelProperty("登记日期") | 38 | @ApiModelProperty("登记日期") |
| 37 | @TypeMismatch(message = "登记日期格式有误!") | 39 | @TypeMismatch(message = "登记日期格式有误!") |
| 40 | + @JsonDeserialize(using = LocalDateDeserializer.class) | ||
| 38 | private LocalDate registerDate; | 41 | private LocalDate registerDate; |
| 39 | 42 | ||
| 40 | /** | 43 | /** |
| @@ -107,6 +110,7 @@ public class UpdateCustomerCreditVo implements BaseVo, Serializable { | @@ -107,6 +110,7 @@ public class UpdateCustomerCreditVo implements BaseVo, Serializable { | ||
| 107 | */ | 110 | */ |
| 108 | @ApiModelProperty("注册时间") | 111 | @ApiModelProperty("注册时间") |
| 109 | @TypeMismatch(message = "注册时间格式有误!") | 112 | @TypeMismatch(message = "注册时间格式有误!") |
| 113 | + @JsonDeserialize(using = LocalDateDeserializer.class) | ||
| 110 | private LocalDate registrationTime; | 114 | private LocalDate registrationTime; |
| 111 | 115 | ||
| 112 | /** | 116 | /** |