Showing
5 changed files
with
47 additions
and
1 deletions
| ... | ... | @@ -4,6 +4,8 @@ import com.fasterxml.jackson.annotation.JsonFormat; |
| 4 | 4 | import com.lframework.xingyun.sc.entity.OrderInfoChangeRecord; |
| 5 | 5 | import com.lframework.starter.common.constants.StringPool; |
| 6 | 6 | import com.lframework.starter.web.core.bo.BaseBo; |
| 7 | + | |
| 8 | +import java.math.BigDecimal; | |
| 7 | 9 | import java.time.LocalDate; |
| 8 | 10 | import java.time.LocalDateTime; |
| 9 | 11 | import java.util.List; |
| ... | ... | @@ -189,7 +191,13 @@ public class OrderChangeRecordBo extends BaseBo<OrderInfoChangeRecord> { |
| 189 | 191 | * 总数量 |
| 190 | 192 | */ |
| 191 | 193 | @ApiModelProperty("总数量") |
| 192 | - private String sumNumber; | |
| 194 | + private Double totalQuantity; | |
| 195 | + | |
| 196 | + /** | |
| 197 | + * 包装费 | |
| 198 | + */ | |
| 199 | + @ApiModelProperty("包装费") | |
| 200 | + private BigDecimal packagingFee; | |
| 193 | 201 | |
| 194 | 202 | /** |
| 195 | 203 | * 变更前规格数据 | ... | ... |
| ... | ... | @@ -7,6 +7,7 @@ import com.lframework.starter.web.core.dto.BaseDto; |
| 7 | 7 | import com.lframework.starter.web.core.entity.BaseEntity; |
| 8 | 8 | import lombok.Data; |
| 9 | 9 | |
| 10 | +import java.math.BigDecimal; | |
| 10 | 11 | import java.time.LocalDate; |
| 11 | 12 | import java.time.LocalDateTime; |
| 12 | 13 | import java.util.List; |
| ... | ... | @@ -165,6 +166,16 @@ public class OrderInfoChangeRecord extends BaseEntity implements BaseDto { |
| 165 | 166 | private String customerTier; |
| 166 | 167 | |
| 167 | 168 | /** |
| 169 | + * 总数量 | |
| 170 | + */ | |
| 171 | + private Double totalQuantity; | |
| 172 | + | |
| 173 | + /** | |
| 174 | + * 包装费 | |
| 175 | + */ | |
| 176 | + private BigDecimal packagingFee; | |
| 177 | + | |
| 178 | + /** | |
| 168 | 179 | * 订货单ID |
| 169 | 180 | */ |
| 170 | 181 | private String orderId; | ... | ... |
| ... | ... | @@ -2,6 +2,7 @@ package com.lframework.xingyun.sc.vo.order.change; |
| 2 | 2 | |
| 3 | 3 | |
| 4 | 4 | import javax.validation.Valid; |
| 5 | +import java.math.BigDecimal; | |
| 5 | 6 | import java.time.LocalDate; |
| 6 | 7 | import com.lframework.starter.web.core.vo.BaseVo; |
| 7 | 8 | |
| ... | ... | @@ -179,6 +180,18 @@ public class CreateOrderChangeRecordVo implements BaseVo, Serializable { |
| 179 | 180 | private String customerCreditId; |
| 180 | 181 | |
| 181 | 182 | /** |
| 183 | + * 总数量 | |
| 184 | + */ | |
| 185 | + @ApiModelProperty("总数量") | |
| 186 | + private Double totalQuantity; | |
| 187 | + | |
| 188 | + /** | |
| 189 | + * 包装费 | |
| 190 | + */ | |
| 191 | + @ApiModelProperty("包装费") | |
| 192 | + private BigDecimal packagingFee; | |
| 193 | + | |
| 194 | + /** | |
| 182 | 195 | * 规格变更记录 |
| 183 | 196 | */ |
| 184 | 197 | @ApiModelProperty(value = "规格变更记录", required = true) | ... | ... |
| ... | ... | @@ -5,6 +5,7 @@ import lombok.Data; |
| 5 | 5 | |
| 6 | 6 | import javax.validation.Valid; |
| 7 | 7 | import javax.validation.constraints.NotBlank; |
| 8 | +import java.math.BigDecimal; | |
| 8 | 9 | import java.time.LocalDate; |
| 9 | 10 | import com.lframework.starter.web.core.vo.BaseVo; |
| 10 | 11 | |
| ... | ... | @@ -184,6 +185,18 @@ public class UpdateOrderChangeRecordVo implements BaseVo, Serializable { |
| 184 | 185 | private String customerCreditId; |
| 185 | 186 | |
| 186 | 187 | /** |
| 188 | + * 总数量 | |
| 189 | + */ | |
| 190 | + @ApiModelProperty("总数量") | |
| 191 | + private Double totalQuantity; | |
| 192 | + | |
| 193 | + /** | |
| 194 | + * 包装费 | |
| 195 | + */ | |
| 196 | + @ApiModelProperty("包装费") | |
| 197 | + private BigDecimal packagingFee; | |
| 198 | + | |
| 199 | + /** | |
| 187 | 200 | * 规格变更记录 |
| 188 | 201 | */ |
| 189 | 202 | @Valid | ... | ... |
| ... | ... | @@ -142,6 +142,7 @@ |
| 142 | 142 | <select id="queryCanRevokeOrChangeList" resultMap="PurchaseOrderInfo"> |
| 143 | 143 | <include refid="PurchaseOrderInfo_sql"/> |
| 144 | 144 | <where> |
| 145 | + AND tb.type = 'PRODUCTION' | |
| 145 | 146 | <if test="vo.orderNo != null and vo.orderNo != ''"> |
| 146 | 147 | AND tb.order_no = #{vo.orderNo} |
| 147 | 148 | </if> | ... | ... |