fix(material): 约定参数格式

This commit is contained in:
han0
2023-12-19 10:32:27 +08:00
parent 17e7ce75c8
commit 9ebd2c862d
2 changed files with 26 additions and 0 deletions

View File

@@ -1,5 +1,6 @@
package mjkf.xinke.main.model.vo;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Getter;
import lombok.Setter;
@@ -23,24 +24,34 @@ public class PricePublishEditRequest {
private BigDecimal price;
@JsonProperty(value = "price_fuzhou")
private BigDecimal priceFuzhou;
@JsonProperty(value = "price_xiamen")
private BigDecimal priceXiamen;
@JsonProperty(value = "price_putian")
private BigDecimal pricePutian;
@JsonProperty(value = "price_sanming")
private BigDecimal priceSanming;
@JsonProperty(value = "price_quanzhou")
private BigDecimal priceQuanzhou;
@JsonProperty(value = "price_zhangzhou")
private BigDecimal priceZhangzhou;
@JsonProperty(value = "price_nanpin")
private BigDecimal priceNanpin;
@JsonProperty(value = "price_longyan")
private BigDecimal priceLongyan;
@JsonProperty(value = "price_ningde")
private BigDecimal priceNingde;
@JsonProperty(value = "price_pintan")
private BigDecimal pricePintan;
private BigDecimal tax;

View File

@@ -1,5 +1,6 @@
package mjkf.xinke.main.model.vo;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Getter;
import lombok.Setter;
@@ -17,31 +18,45 @@ public class PriceResultEditRequest {
// private Integer month;
@JsonProperty(value = "price_ftb")
private Integer priceFtb;
@JsonProperty(value = "fluctuating_ftb")
private Integer fluctuatingFtb;
@JsonProperty(value = "price_ss")
private Integer priceSs;
@JsonProperty(value = "fluctuating_ss")
private Integer fluctuatingSs;
@JsonProperty(value = "price_fhb")
private Integer priceFhb;
@JsonProperty(value = "fluctuating_fhb")
private Integer fluctuatingFhb;
@JsonProperty(value = "price_network")
private Integer priceNetwork;
@JsonProperty(value = "fluctuating_network")
private Integer fluctuatingNetwork;
@JsonProperty(value = "price_survey")
private Integer priceSurvey;
@JsonProperty(value = "fluctuating_survey")
private Integer fluctuatingSurvey;
@JsonProperty(value = "priceLast_month")
private Integer priceLastMonth;
@JsonProperty(value = "price_calculate")
private Integer priceCalculate;
@JsonProperty(value = "price_recommend")
private Integer priceRecommend;
@JsonProperty(value = "fluctuating_recommend")
private Integer fluctuatingRecommend;
}