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