xuhaifeng пре 9 месеци
родитељ
комит
679126c591

+ 1 - 0
yiqi-core/src/main/java/com/yiqi/order/service/impl/OrderGoodsServiceImpl.java

@@ -202,6 +202,7 @@ public class OrderGoodsServiceImpl extends ServiceImpl<OrderGoodsMapper, OrderGo
         BeanUtils.copyProperties(orderGoodsDTO, orderGoods);
         orderGoods.buildCreateData();
         orderGoods.setGoodsOrderType(GoodsOrderType.retail.getCode());
+        orderGoods.setPayType(orderGoodsDTO.getPayType());
         orderGoods.setGoodsType(orderGoodsDTO.getGoodsType());
         orderGoods.setDeductAmount(orderGoodsDTO.getDeductAmount());
         orderGoods.setCouponDeductAmount(orderGoodsDTO.getCouponDeductAmount() == null ? BigDecimal.ZERO : orderGoodsDTO.getCouponDeductAmount());