|
|
|
@ -411,27 +411,27 @@ public class TemporaryChargesServiceImpl implements ITemporaryChargesService { |
|
|
|
private Boolean callBackAccount(List<TemporaryCharges> list,String approvalStatus){ |
|
|
|
private Boolean callBackAccount(List<TemporaryCharges> list,String approvalStatus){ |
|
|
|
List<AccountInfosCallBackIn> accountInfosCallBackIns = new ArrayList<>(); |
|
|
|
List<AccountInfosCallBackIn> accountInfosCallBackIns = new ArrayList<>(); |
|
|
|
|
|
|
|
|
|
|
|
if(approvalStatus.equals(TempConstants.TEMP_APPROVAL_REVERTED)){ |
|
|
|
// if(approvalStatus.equals(TempConstants.TEMP_APPROVAL_REVERTED)){
|
|
|
|
list.forEach(temp->{ |
|
|
|
// list.forEach(temp->{
|
|
|
|
//手工录入的不需要回调
|
|
|
|
// //手工录入的不需要回调
|
|
|
|
if(!TempConstants.EXCEPTION_RECONCI_CODE.equals(temp.getReconciliationCode())){ |
|
|
|
// if(!TempConstants.EXCEPTION_RECONCI_CODE.equals(temp.getReconciliationCode())){
|
|
|
|
AccountInfosCallBackIn accountInfosCallBackIn = new AccountInfosCallBackIn(); |
|
|
|
// AccountInfosCallBackIn accountInfosCallBackIn = new AccountInfosCallBackIn();
|
|
|
|
accountInfosCallBackIn.setAbstract(temp.getReconciliationCode()); |
|
|
|
// accountInfosCallBackIn.setAbstract(temp.getReconciliationCode());
|
|
|
|
accountInfosCallBackIn.setConfirmState(TempConstants.TEMP_CALBACK_FAILED); |
|
|
|
// accountInfosCallBackIn.setConfirmState(TempConstants.TEMP_CALBACK_FAILED);
|
|
|
|
accountInfosCallBackIns.add(accountInfosCallBackIn); |
|
|
|
// accountInfosCallBackIns.add(accountInfosCallBackIn);
|
|
|
|
} |
|
|
|
// }
|
|
|
|
}); |
|
|
|
// });
|
|
|
|
}else if(approvalStatus.equals(TempConstants.TEMP_APPROVAL_PASSED)){ |
|
|
|
// }else if(approvalStatus.equals(TempConstants.TEMP_APPROVAL_PASSED)){
|
|
|
|
list.forEach(temp->{ |
|
|
|
// list.forEach(temp->{
|
|
|
|
AccountInfosCallBackIn accountInfosCallBackIn = new AccountInfosCallBackIn(); |
|
|
|
// AccountInfosCallBackIn accountInfosCallBackIn = new AccountInfosCallBackIn();
|
|
|
|
//手工录入的不需要回调
|
|
|
|
// //手工录入的不需要回调
|
|
|
|
if(!TempConstants.EXCEPTION_RECONCI_CODE.equals(temp.getReconciliationCode())){ |
|
|
|
// if(!TempConstants.EXCEPTION_RECONCI_CODE.equals(temp.getReconciliationCode())){
|
|
|
|
accountInfosCallBackIn.setAbstract(temp.getReconciliationCode()); |
|
|
|
// accountInfosCallBackIn.setAbstract(temp.getReconciliationCode());
|
|
|
|
accountInfosCallBackIn.setConfirmState(TempConstants.TEMP_CALBACK_PASSED); |
|
|
|
// accountInfosCallBackIn.setConfirmState(TempConstants.TEMP_CALBACK_PASSED);
|
|
|
|
accountInfosCallBackIns.add(accountInfosCallBackIn); |
|
|
|
// accountInfosCallBackIns.add(accountInfosCallBackIn);
|
|
|
|
} |
|
|
|
// }
|
|
|
|
}); |
|
|
|
// });
|
|
|
|
} |
|
|
|
// }
|
|
|
|
if(!accountInfosCallBackIns.isEmpty() && accountInfosCallBackIns.size()>0){ |
|
|
|
if(!accountInfosCallBackIns.isEmpty() && accountInfosCallBackIns.size()>0){ |
|
|
|
// if(BeanUtil.isNotEmpty(accountInfosCallBackIn)){
|
|
|
|
// if(BeanUtil.isNotEmpty(accountInfosCallBackIn)){
|
|
|
|
FundAccountInfosCallBackBo fundAccountInfosCallBackBo = new FundAccountInfosCallBackBo(); |
|
|
|
FundAccountInfosCallBackBo fundAccountInfosCallBackBo = new FundAccountInfosCallBackBo(); |
|
|
|
|