Commit e8049cd9 by yao.xiao

补充提交

parent def7e7e8
...@@ -565,7 +565,8 @@ public class AgmsFortuneServiceImpl implements AgmsFortuneService { ...@@ -565,7 +565,8 @@ public class AgmsFortuneServiceImpl implements AgmsFortuneService {
customerIds[i] = customerFortunePays.get(i).getCustomerId(); customerIds[i] = customerFortunePays.get(i).getCustomerId();
} }
List<AclCustomerFortuneStatistic> customerFortuneStatistics = customerFortuneStatisticDalService.findByCustomerIds(customerIds); List<AclCustomerFortuneStatistic> customerFortuneStatistics = customerFortuneStatisticDalService.findByCustomerIds(customerIds);
//fortune记录
List<AclCustomerFortune> fortunes = customerFortuneDalService.findByWithdrawIds(Arrays.asList(withdrawIds));
//更新静态表 //更新静态表
for (AclCustomerFortuneStatistic statistic: customerFortuneStatistics){ for (AclCustomerFortuneStatistic statistic: customerFortuneStatistics){
Long customerId = statistic.getCustomerId(); Long customerId = statistic.getCustomerId();
...@@ -600,6 +601,9 @@ public class AgmsFortuneServiceImpl implements AgmsFortuneService { ...@@ -600,6 +601,9 @@ public class AgmsFortuneServiceImpl implements AgmsFortuneService {
p.setUpdatedBy(loginId); p.setUpdatedBy(loginId);
}); });
customerFortunePayDalService.updateAll(customerFortunePays); customerFortunePayDalService.updateAll(customerFortunePays);
//修改fortune
fortunes.forEach(f -> f.setCommissionPayoutStatus("4"));
customerFortuneDalService.updateBatch(fortunes);
responseVO.setCommonResult(commonResult); responseVO.setCommonResult(commonResult);
return responseVO; return responseVO;
} }
......
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