peng
7 天以前 fa6528a77821c3fb7a46c2a8b63a2adb6da4fc10
framework/src/main/java/cn/lili/modules/order/order/entity/dos/OrderItem.java
@@ -22,6 +22,7 @@
import lombok.Data;
import lombok.NoArgsConstructor;
import java.math.BigDecimal;
import java.util.stream.Collectors;
/**
@@ -84,6 +85,12 @@
    @ApiModelProperty(value = "促销id")
    private String promotionId;
    @ApiModelProperty(value = "优惠卷id")
    private String couponId;
    @ApiModelProperty(value = "优惠卷名称")
    private String couponName;
    @ApiModelProperty(value = "销售金额")
    private Double goodsPrice;
@@ -129,6 +136,9 @@
    @ApiModelProperty(value = "已发货数量")
    private Integer deliverNumber;
    @ApiModelProperty(value = "抽成比例")
    private BigDecimal commission;
    public Integer getDeliverNumber() {
        if(deliverNumber == null){
            return 0;