|
@@ -56,6 +56,10 @@ public class GoodsInfoVO extends GoodsInfo {
|
|
|
@ApiModelProperty(value = "货道编号")
|
|
|
private String cargoWayNo;
|
|
|
|
|
|
+ public BigDecimal getPaymentAmount() {
|
|
|
+ return super.getDiscount() == null ? super.getSalePrice() : super.getSalePrice().subtract(BigDecimal.valueOf(super.getDiscount()));
|
|
|
+ }
|
|
|
+
|
|
|
public String getAuditStatusDesc() {
|
|
|
return AuditStatusEnum.getNameByValue(this.getAuditStatus());
|
|
|
}
|