Kaynağa Gözat

处理车险结算修改报错bug

hxl13994548489 1 yıl önce
ebeveyn
işleme
5241767edc

+ 3 - 3
src/main/java/com/ydtech/modules/fnc/vo/InsPlyIncomeVo.java

@@ -45,11 +45,11 @@ public class InsPlyIncomeVo implements Serializable {
     private String orderno;
 
     @ApiModelProperty(value = "开始时间")
-    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
+    @JsonFormat(shape = JsonFormat.Shape.STRING,pattern = "yyyy-MM-dd", timezone = "GMT+8")
     private LocalDate startDate;
 
     @ApiModelProperty(value = "结束时间")
-    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
+    @JsonFormat(shape = JsonFormat.Shape.STRING,pattern = "yyyy-MM-dd", timezone = "GMT+8")
     private LocalDate endDate;
 
 
@@ -57,7 +57,7 @@ public class InsPlyIncomeVo implements Serializable {
     private String signDate;
 
     @ApiModelProperty(value = "创建日期")
-    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss ", timezone = "GMT+8")
+    @JsonFormat(shape = JsonFormat.Shape.STRING,pattern = "yyyy-MM-dd HH:mm:ss ", timezone = "GMT+8")
     private LocalDate createTime;
 
     @ApiModelProperty(value = "结算日期")