zxl
2025-10-11 3b2c5fb47caca6ab286e0c8ed8c0575024c528d0
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;