Commit e629dfad by liyanlin

fix

parent 3bbcf748
package com.bailuntec.api.bailuntec.mjcg.resp; package com.bailuntec.api.bailuntec.mjcg.resp;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data; import lombok.Data;
import java.math.BigDecimal; import java.math.BigDecimal;
import java.time.LocalDateTime; import java.util.Date;
/** /**
* @Author: li.yanlin * @Author: li.yanlin
...@@ -31,7 +32,8 @@ public class SupofferLogResp { ...@@ -31,7 +32,8 @@ public class SupofferLogResp {
private String unitName; private String unitName;
@JsonProperty("create_time") @JsonProperty("create_time")
private LocalDateTime createTime; @JsonFormat(pattern="yyyy-MM-dd")
private Date createTime;
private BigDecimal price; private BigDecimal price;
...@@ -41,5 +43,5 @@ public class SupofferLogResp { ...@@ -41,5 +43,5 @@ public class SupofferLogResp {
private String skuName; private String skuName;
@JsonProperty("sku_id") @JsonProperty("sku_id")
private String sku_id; private String skuId;
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment