fix:
This commit is contained in:
@@ -247,6 +247,9 @@ public class PricePublish extends Model<PricePublish> {
|
||||
if (params.getTax() != null) {
|
||||
this.setTax(params.getTax());
|
||||
}
|
||||
if (params.getDisplayDigit() != null) {
|
||||
this.setDisplayDigit(params.getDisplayDigit());
|
||||
}
|
||||
|
||||
this.updateTime = LocalDateTime.now();
|
||||
this.updateUserName = user.getName();
|
||||
|
@@ -165,6 +165,7 @@ public class PriceResult extends Model<PriceResult> {
|
||||
}
|
||||
|
||||
public PriceResult update(PriceResultEditRequest item) {
|
||||
this.setDisplayDigit(item.getDisplayDigit());
|
||||
this.setPriceFtb(item.getPriceFtb().floatValue());
|
||||
this.setFluctuatingFtb(item.getFluctuatingFtb().floatValue());
|
||||
this.setPriceSs(item.getPriceSs().floatValue());
|
||||
|
Reference in New Issue
Block a user