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

master
zhuliang 7 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){ 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();

Loading…
Cancel
Save