1.代客下单 创建订单直接付款不增加placeNum
This commit is contained in:
parent
a40431fbe7
commit
7f0056304d
|
|
@ -1101,7 +1101,9 @@ public class TbShopTableServiceImpl implements TbShopTableService {
|
|||
orderInfo.setUseType(createOrderDTO.isPostPay() ? "postPay" : "afterPay");
|
||||
orderInfo.setUserId(createOrderDTO.getVipUserId() == null ? null : String.valueOf(createOrderDTO.getVipUserId()));
|
||||
orderInfo.setCreatedAt(DateUtil.current());
|
||||
orderInfo.setPlaceNum(placeNum);
|
||||
if (addMaterId) {
|
||||
orderInfo.setPlaceNum(placeNum);
|
||||
}
|
||||
orderInfoMapper.updateById(orderInfo);
|
||||
} else {
|
||||
String orderNo = generateOrderNumber();
|
||||
|
|
|
|||
Loading…
Reference in New Issue