Commit 17db78d3 authored by xiaoyu's avatar xiaoyu
Browse files

分账结果查询,定时任务完善

parent c87405c3
......@@ -125,13 +125,9 @@ public class PayOrderDivisionRecordReissueTask {
if (ChannelRetMsg.ChannelState.CONFIRM_SUCCESS == channelRetMsg.getChannelState() ||
ChannelRetMsg.ChannelState.CONFIRM_FAIL == channelRetMsg.getChannelState()) {
PayOrderDivisionRecord upDivisionRecord = new PayOrderDivisionRecord();
upDivisionRecord.setRecordId(record.getRecordId());
upDivisionRecord.setChannelRespResult(channelRetMsg.getChannelErrMsg());
upDivisionRecord.setState(ChannelRetMsg.ChannelState.CONFIRM_SUCCESS == channelRetMsg.getChannelState() ? PayOrderDivisionRecord.STATE_SUCCESS : PayOrderDivisionRecord.STATE_FAIL);
// payOrderDivisionRecordService.updateRecordSuccessOrFail(upDivisionRecord);
Byte state = ChannelRetMsg.ChannelState.CONFIRM_SUCCESS == channelRetMsg.getChannelState() ? PayOrderDivisionRecord.STATE_SUCCESS : PayOrderDivisionRecord.STATE_FAIL;
// 更新记录状态
payOrderDivisionRecordService.updateRecordSuccessOrFailBySingleItem(record.getRecordId(), state, channelRetMsg.getChannelErrMsg());
}
});
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment