## 下单报错处理(342);
This commit is contained in:
parent
0271bfa4b8
commit
0f946a9d05
|
@ -597,6 +597,9 @@ public class SaOrderServiceImpl extends ServiceImpl<SaOrderMapper, SaOrder> impl
|
|||
// 待支付直接保存订单、会员
|
||||
// 保存订单
|
||||
save(saOrderExt);
|
||||
saOrderExt.getOrderItemsList().forEach(saOrderItems -> {
|
||||
saOrderItems.setPkOrder(saOrderExt.getPkId());
|
||||
});
|
||||
// 保存订单明细
|
||||
iSaOrderItemsService.saveBatch(saOrderExt.getOrderItemsList());
|
||||
|
||||
|
@ -622,7 +625,8 @@ public class SaOrderServiceImpl extends ServiceImpl<SaOrderMapper, SaOrder> impl
|
|||
confirmPay = querySystemConfigByKey(pkCountry, ESystemConfig.REGISTER_ORDER_CONFIRM_PAY.getKey());
|
||||
} else if (EOrderType.UPGRADE_ORDER.getValue() == specialArea || EOrderType.SPECIAL_UPGRADE_ORDER.getValue() == specialArea) {
|
||||
confirmPay = querySystemConfigByKey(pkCountry, ESystemConfig.UPGRADE_ORDER_CONFIRM_PAY.getKey());
|
||||
} else if (EOrderType.REPURCHASE_ORDER.getValue() == specialArea || EOrderType.SPECIAL_REPURCHASE_ORDER.getValue() == specialArea) {
|
||||
} else if (EOrderType.REPURCHASE_ORDER.getValue() == specialArea || EOrderType.SPECIAL_REPURCHASE_ORDER.getValue() == specialArea
|
||||
|| EOrderType.MALL_ORDER.getValue() == specialArea) {
|
||||
confirmPay = querySystemConfigByKey(pkCountry, ESystemConfig.REPURCHASE_ORDER_CONFIRM_PAY.getKey());
|
||||
} else if (EOrderType.PICK_ORDER.getValue() == specialArea) {
|
||||
// 提货没有待支付
|
||||
|
|
Loading…
Reference in New Issue