mirror of
https://github.com/jeequan/jeepay
synced 2024-11-17 14:58:04 +08:00
This commit is contained in:
parent
da5733da6e
commit
4d1b35fe86
@ -104,7 +104,16 @@ public class PayOrderDivisionExecController extends ApiController {
|
||||
ChannelRetMsg channelRetMsg = payOrderDivisionProcessService.processPayOrderDivision(payOrder.getPayOrderId(), bizRQ.getUseSysAutoDivisionReceivers(), receiverList, false);
|
||||
|
||||
PayOrderDivisionExecRS bizRS = new PayOrderDivisionExecRS();
|
||||
bizRS.setState(channelRetMsg.getChannelState() == ChannelRetMsg.ChannelState.CONFIRM_SUCCESS ? PayOrderDivisionRecord.STATE_SUCCESS : PayOrderDivisionRecord.STATE_FAIL);
|
||||
|
||||
|
||||
if(channelRetMsg.getChannelState() == ChannelRetMsg.ChannelState.CONFIRM_SUCCESS){
|
||||
bizRS.setState(PayOrderDivisionRecord.STATE_SUCCESS);
|
||||
}else if(channelRetMsg.getChannelState() == ChannelRetMsg.ChannelState.CONFIRM_FAIL){
|
||||
bizRS.setState(PayOrderDivisionRecord.STATE_FAIL);
|
||||
}else{
|
||||
bizRS.setState(PayOrderDivisionRecord.STATE_ACCEPT);
|
||||
}
|
||||
|
||||
bizRS.setChannelBatchOrderId(channelRetMsg.getChannelOrderId());
|
||||
bizRS.setErrCode(channelRetMsg.getChannelErrCode());
|
||||
bizRS.setErrMsg(channelRetMsg.getChannelErrMsg());
|
||||
|
Loading…
Reference in New Issue
Block a user