feat: 新增小数位数保留参数
This commit is contained in:
@@ -197,6 +197,10 @@ public class PricePublish extends Model<PricePublish> {
|
|||||||
@TableField(exist = false)
|
@TableField(exist = false)
|
||||||
private DataAdjacent adjacent;
|
private DataAdjacent adjacent;
|
||||||
|
|
||||||
|
@ApiModelProperty("显示小数位数")
|
||||||
|
@TableField("DISPLAY_DIGIT")
|
||||||
|
private Float displayDigit;
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public Serializable pkVal() {
|
public Serializable pkVal() {
|
||||||
return this.id;
|
return this.id;
|
||||||
|
@@ -149,6 +149,10 @@ public class PriceResult extends Model<PriceResult> {
|
|||||||
@TableField("FLUCTUATING_FUJIAN")
|
@TableField("FLUCTUATING_FUJIAN")
|
||||||
private Float fluctuatingFujian;
|
private Float fluctuatingFujian;
|
||||||
|
|
||||||
|
@ApiModelProperty("显示小数位数")
|
||||||
|
@TableField("DISPLAY_DIGIT")
|
||||||
|
private Float displayDigit;
|
||||||
|
|
||||||
private Float weightFtb;
|
private Float weightFtb;
|
||||||
private Float weightSs;
|
private Float weightSs;
|
||||||
private Float weightFhb;
|
private Float weightFhb;
|
||||||
|
@@ -59,6 +59,8 @@ public class PricePublishEditRequest {
|
|||||||
|
|
||||||
private BigDecimal tax;
|
private BigDecimal tax;
|
||||||
|
|
||||||
|
private Integer displayDigit;
|
||||||
|
|
||||||
public void check() {
|
public void check() {
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@@ -57,4 +57,6 @@ public class PriceResultEditRequest {
|
|||||||
|
|
||||||
// @JsonProperty(value = "fluctuating_recommend")
|
// @JsonProperty(value = "fluctuating_recommend")
|
||||||
private Integer fluctuatingRecommend;
|
private Integer fluctuatingRecommend;
|
||||||
|
|
||||||
|
private Integer displayDigit;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user