1.代客下单 创建订单直接付款不增加placeNum
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user