## 0元购买188在线支付回调;

This commit is contained in:
cabbage 2025-09-16 11:58:36 +08:00
parent 81bb6cb542
commit 7650d22575
1 changed files with 4 additions and 1 deletions

View File

@ -455,7 +455,8 @@ public class SaOrderServiceImpl extends ServiceImpl<SaOrderMapper, SaOrder> impl
@Transactional(rollbackFor = Exception.class)
public Boolean confirmRegSaOrderByOrderParam(OrderParam orderParam) {
boolean isToBePay = getIsToBePayByOrderType(orderParam.getPkSettleCountry(), orderParam.getSpecialArea());
CuMember cuMember = saOrderHandle.packageSaveUser(orderParam, iMemberServiceApi.queryMember(orderParam.getCenterCodeId()).getData());
CuMember otherMember = iMemberServiceApi.queryMember(orderParam.getCenterCodeId()).getData();
CuMember cuMember = saOrderHandle.packageSaveUser(orderParam, otherMember);
if (!EOrderTypeExtend.REG_REP.getValue().equals(orderParam.getOrderTypeExtend())) {
// 非0元需要获取会员编号会员主键
@ -467,6 +468,8 @@ public class SaOrderServiceImpl extends ServiceImpl<SaOrderMapper, SaOrder> impl
// 2023.10.16按最新需求注册订单需要在支付前需要显示会员编号
cuMember = iMemberServiceApi.createRegisterMemberCode(cuMember).getData();
}
} else {
cuMember.setPkId(otherMember.getPkId());
}
SaOrderExt saOrderExt = packageWholeSaOrder(orderParam, cuMember);