Commit a8469d5c by yao.xiao

agms修改可发放批次

parent 66e2dbeb
...@@ -362,7 +362,15 @@ public class AgmsFortuneServiceImpl implements AgmsFortuneService { ...@@ -362,7 +362,15 @@ public class AgmsFortuneServiceImpl implements AgmsFortuneService {
//需要重新计算withdraw根据的fortune记录 //需要重新计算withdraw根据的fortune记录
List<AclCustomerFortune> fortuneWithdraw = withdrawsFortunes.get(withdrawId); List<AclCustomerFortune> fortuneWithdraw = withdrawsFortunes.get(withdrawId);
if (fortuneWithdraw == null) { if (fortuneWithdraw == null) {
updateWithdrawAmountToZero(withdraws, pays, loginId); List<AclCustomerFortuneWithdraw> withdrawList = new ArrayList<>();
withdrawList.add(withdraw);
List<AclCustomerFortunePay> payList = new ArrayList<>();
for (AclCustomerFortunePay pay : pays) {
if (pay.getWithdrawId().equals(withdrawId)) {
payList.add(pay);
}
}
updateWithdrawAmountToZero(withdrawList, payList, loginId);
continue; continue;
} }
//统计此次提现总金额 //统计此次提现总金额
......
Markdown is supported
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