feat(price-publish): 新增漳州开发区字段
This commit is contained in:
@@ -134,6 +134,10 @@ public class PricePublish extends Model<PricePublish> {
|
|||||||
@TableField("PRICE_PINTAN")
|
@TableField("PRICE_PINTAN")
|
||||||
private BigDecimal pricePintan;
|
private BigDecimal pricePintan;
|
||||||
|
|
||||||
|
@ApiModelProperty("平潭价格")
|
||||||
|
@TableField("PRICE_ZHANGZHOUKFQ")
|
||||||
|
private BigDecimal priceZhangzhouKfq;
|
||||||
|
|
||||||
@ApiModelProperty("税率")
|
@ApiModelProperty("税率")
|
||||||
@TableField("TAX")
|
@TableField("TAX")
|
||||||
private BigDecimal tax;
|
private BigDecimal tax;
|
||||||
@@ -195,6 +199,9 @@ public class PricePublish extends Model<PricePublish> {
|
|||||||
if (params.getPricePintan() != null) {
|
if (params.getPricePintan() != null) {
|
||||||
this.setPricePintan(params.getPricePintan());
|
this.setPricePintan(params.getPricePintan());
|
||||||
}
|
}
|
||||||
|
if (params.getPriceZhangzhouKfq() != null) {
|
||||||
|
this.setPriceZhangzhouKfq(params.getPriceZhangzhouKfq());
|
||||||
|
}
|
||||||
if (params.getTax() != null) {
|
if (params.getTax() != null) {
|
||||||
this.setTax(params.getTax());
|
this.setTax(params.getTax());
|
||||||
}
|
}
|
||||||
@@ -225,6 +232,8 @@ public class PricePublish extends Model<PricePublish> {
|
|||||||
return this.priceNingde;
|
return this.priceNingde;
|
||||||
} else if (region.contains("平潭")) {
|
} else if (region.contains("平潭")) {
|
||||||
return this.pricePintan;
|
return this.pricePintan;
|
||||||
|
} else if (region.contains("漳州开发区")) {
|
||||||
|
return this.priceZhangzhouKfq;
|
||||||
}
|
}
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
@@ -54,6 +54,9 @@ public class PricePublishEditRequest {
|
|||||||
@JsonProperty(value = "pricePintan")
|
@JsonProperty(value = "pricePintan")
|
||||||
private BigDecimal pricePintan;
|
private BigDecimal pricePintan;
|
||||||
|
|
||||||
|
@JsonProperty(value = "priceZhangzhouKfq")
|
||||||
|
private BigDecimal priceZhangzhouKfq;
|
||||||
|
|
||||||
private BigDecimal tax;
|
private BigDecimal tax;
|
||||||
|
|
||||||
public void check() {
|
public void check() {
|
||||||
|
Reference in New Issue
Block a user