Commit a3d16bfe by 崔彦峰

feat(eval-order): 添加车辆保险和年审到期日期字段

- 在EvalOrderDetailResDTO中新增交强险到期日字段
- 在EvalOrderDetailResDTO中新增年审到期日字段
- 在EvalOrderDetailResDTO中新增商业险到期日字段
- 配置日期格式化注解支持yyyy-MM-dd格式
- 在订单详情服务中填充保险和年审到期日期数据
1 parent a4881bc2
......@@ -256,4 +256,25 @@ public class EvalOrderDetailResDTO {
@Schema(description = "内饰颜色")
private String interiorColor;
/**
* 交强险到期日 yyyy-mm-dd
*/
@JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
private Date compulsoryInsuranceExpiry;
/**
* 年审到期日 yyyy-mm-dd
*/
@JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
private Date annualInspectionExpiry;
/**
* 商业险到期日 yyyy-mm-dd
*/
@JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
private Date commercialInsuranceExpiry;
}
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!