分销提现失败原因记录
This commit is contained in:
@@ -693,7 +693,7 @@ public class MkDistributionUserServiceImpl extends ServiceImpl<MkDistributionUse
|
||||
|
||||
@Override
|
||||
@Transactional(rollbackFor = Exception.class)
|
||||
public void withdrawNotify(String outBillNo, String state) {
|
||||
public void withdrawNotify(String outBillNo, String state, String failReason) {
|
||||
MkDistributionWithdrawFlow flow = withdrawFlowService.getOne(new QueryWrapper().eq(MkDistributionWithdrawFlow::getBillNo, outBillNo));
|
||||
AssertUtil.isNull(flow, "提现记录不存在");
|
||||
switch (state) {
|
||||
@@ -709,6 +709,7 @@ public class MkDistributionUserServiceImpl extends ServiceImpl<MkDistributionUse
|
||||
break;
|
||||
|
||||
}
|
||||
flow.setFailReason(failReason);
|
||||
withdrawFlowService.updateById(flow);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user