Commit e8049cd9 by yao.xiao

补充提交

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