审核手工录入到账通知时不调资金系统校验对账码

master
zhuliang 5 hours ago
parent 84c3396b51
commit eb88a9097f
  1. 42
      micro-modules/micro-bls/src/main/java/com/sinosoft/bls/service/impl/TemporaryChargesServiceImpl.java

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

Loading…
Cancel
Save