Commit c4e30e25 by yao.xiao

測試壽險經紀人修改支付批次bug

parent e820897c
...@@ -105,7 +105,7 @@ public class AgmsFortuneServiceImpl implements AgmsFortuneService { ...@@ -105,7 +105,7 @@ public class AgmsFortuneServiceImpl implements AgmsFortuneService {
CommissionPayoutStatusUpdateResponseVO responseVO = new CommissionPayoutStatusUpdateResponseVO(); CommissionPayoutStatusUpdateResponseVO responseVO = new CommissionPayoutStatusUpdateResponseVO();
CommonResult commonResult = check(requestVO); CommonResult commonResult = check(requestVO);
Long[] fortuneIds = requestVO.getFortuneIds(); Long[] fortuneIds = requestVO.getFortuneIds();
//1.暂不可发 2.可发放 3.保留 //1.暂不可发 2.可发放 3.保留 4.已发放
String paymentStatus = requestVO.getPaymentStatus(); String paymentStatus = requestVO.getPaymentStatus();
Long loginId = requestVO.getLoginId(); Long loginId = requestVO.getLoginId();
//查询出需修改的佣金发放状态的财富 //查询出需修改的佣金发放状态的财富
...@@ -220,7 +220,7 @@ public class AgmsFortuneServiceImpl implements AgmsFortuneService { ...@@ -220,7 +220,7 @@ public class AgmsFortuneServiceImpl implements AgmsFortuneService {
fortune.setCommissionPayoutAt(new Date()); fortune.setCommissionPayoutAt(new Date());
fortune.setCommissionPayoutBy(loginId); fortune.setCommissionPayoutBy(loginId);
fortune.setPayoutBatchId(payoutBatchId); fortune.setPayoutBatchId(payoutBatchId);
if (CommonUtil.isNullOrZero(withdrawId)){ if (!CommonUtil.isNullOrZero(withdrawId)){
//需生成新的withdraw //需生成新的withdraw
newFortunes.add(fortune); newFortunes.add(fortune);
fortune.setWithdrawedId(null); fortune.setWithdrawedId(null);
......
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