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

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

parent c87405c3
...@@ -125,13 +125,9 @@ public class PayOrderDivisionRecordReissueTask { ...@@ -125,13 +125,9 @@ public class PayOrderDivisionRecordReissueTask {
if (ChannelRetMsg.ChannelState.CONFIRM_SUCCESS == channelRetMsg.getChannelState() || if (ChannelRetMsg.ChannelState.CONFIRM_SUCCESS == channelRetMsg.getChannelState() ||
ChannelRetMsg.ChannelState.CONFIRM_FAIL == channelRetMsg.getChannelState()) { ChannelRetMsg.ChannelState.CONFIRM_FAIL == channelRetMsg.getChannelState()) {
PayOrderDivisionRecord upDivisionRecord = new PayOrderDivisionRecord(); Byte state = ChannelRetMsg.ChannelState.CONFIRM_SUCCESS == channelRetMsg.getChannelState() ? PayOrderDivisionRecord.STATE_SUCCESS : PayOrderDivisionRecord.STATE_FAIL;
upDivisionRecord.setRecordId(record.getRecordId()); // 更新记录状态
upDivisionRecord.setChannelRespResult(channelRetMsg.getChannelErrMsg()); payOrderDivisionRecordService.updateRecordSuccessOrFailBySingleItem(record.getRecordId(), state, channelRetMsg.getChannelErrMsg());
upDivisionRecord.setState(ChannelRetMsg.ChannelState.CONFIRM_SUCCESS == channelRetMsg.getChannelState() ? PayOrderDivisionRecord.STATE_SUCCESS : PayOrderDivisionRecord.STATE_FAIL);
// payOrderDivisionRecordService.updateRecordSuccessOrFail(upDivisionRecord);
} }
}); });
......
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