| @@ -177,8 +177,10 @@ public class WxPayOrderServiceImpl implements WxPayOrderService { | |||||
| //处理其他信息 | //处理其他信息 | ||||
| try { | try { | ||||
| WxCoupon wxCoupon = wxCouponMapper.selectById(composeOrder.getSingleOrder().getProductId(),composeOrder.getSingleOrder().getTenantId()); | WxCoupon wxCoupon = wxCouponMapper.selectById(composeOrder.getSingleOrder().getProductId(),composeOrder.getSingleOrder().getTenantId()); | ||||
| proxy.handelPress(wxCoupon, composeOrder.getSingleOrder()); | |||||
| proxy.handleOrderPaySingleOrderSuccess(wxCoupon,composeOrder.getSingleOrder(),oldRecord, transactionId,isScheduleTask); | |||||
| boolean isSuccess = proxy.handelPress(wxCoupon, composeOrder.getSingleOrder()); | |||||
| if (isSuccess) { | |||||
| proxy.handleOrderPaySingleOrderSuccess(wxCoupon,composeOrder.getSingleOrder(),oldRecord, transactionId,isScheduleTask); | |||||
| } | |||||
| }catch(Exception e) { | }catch(Exception e) { | ||||
| throw new MallinkException(ErrorCode.SYS_SERVER_ERROR.getCode(),e.getMessage()); | throw new MallinkException(ErrorCode.SYS_SERVER_ERROR.getCode(),e.getMessage()); | ||||
| } | } | ||||
| @@ -187,8 +189,10 @@ public class WxPayOrderServiceImpl implements WxPayOrderService { | |||||
| for (WxOrder o : orderList) { | for (WxOrder o : orderList) { | ||||
| try { | try { | ||||
| WxCoupon wxCoupon = wxCouponMapper.selectById(o.getProductId(),o.getTenantId()); | WxCoupon wxCoupon = wxCouponMapper.selectById(o.getProductId(),o.getTenantId()); | ||||
| proxy.handelPress(wxCoupon, o); | |||||
| proxy.handleOrderPaySingleOrderSuccess(wxCoupon,o,oldRecord, transactionId, isScheduleTask); | |||||
| boolean isSuccess = proxy.handelPress(wxCoupon, o); | |||||
| if (isSuccess) { | |||||
| proxy.handleOrderPaySingleOrderSuccess(wxCoupon,o,oldRecord, transactionId, isScheduleTask); | |||||
| } | |||||
| }catch(Exception e) { | }catch(Exception e) { | ||||
| logger.error("handleSuccessOrder error.",e); | logger.error("handleSuccessOrder error.",e); | ||||
| } | } | ||||
| @@ -198,8 +202,10 @@ public class WxPayOrderServiceImpl implements WxPayOrderService { | |||||
| //处理其他信息 | //处理其他信息 | ||||
| try { | try { | ||||
| WxCoupon wxCoupon = wxCouponMapper.selectById(composeOrder.getSingleOrder().getProductId(),composeOrder.getSingleOrder().getTenantId()); | WxCoupon wxCoupon = wxCouponMapper.selectById(composeOrder.getSingleOrder().getProductId(),composeOrder.getSingleOrder().getTenantId()); | ||||
| proxy.handelPress(wxCoupon, composeOrder.getSingleOrder()); | |||||
| proxy.handleOrderPaySingleOrderSuccess(wxCoupon,composeOrder.getSingleOrder(),oldRecord, transactionId,isScheduleTask); | |||||
| boolean isSuccess = proxy.handelPress(wxCoupon, composeOrder.getSingleOrder()); | |||||
| if (isSuccess) { | |||||
| proxy.handleOrderPaySingleOrderSuccess(wxCoupon,composeOrder.getSingleOrder(),oldRecord, transactionId,isScheduleTask); | |||||
| } | |||||
| }catch(Exception e) { | }catch(Exception e) { | ||||
| throw new MallinkException(ErrorCode.SYS_SERVER_ERROR.getCode(),e.getMessage()); | throw new MallinkException(ErrorCode.SYS_SERVER_ERROR.getCode(),e.getMessage()); | ||||
| } | } | ||||