Browse Source

不再支付 添加余额不再支付

v1.0
15989082884@163.com 2 years ago
parent
commit
3dcd1a9641
  1. 3
      src/main/java/com/qs/serve/modules/pay/entity/bo/PayPaymentBo.java
  2. 7
      src/main/java/com/qs/serve/modules/pay/service/impl/PayPaymentServiceImpl.java

3
src/main/java/com/qs/serve/modules/pay/entity/bo/PayPaymentBo.java

@ -71,5 +71,8 @@ public class PayPaymentBo implements Serializable {
@NotNull(message = "支付类型不能为空")
private String payType;
private Integer release;
}

7
src/main/java/com/qs/serve/modules/pay/service/impl/PayPaymentServiceImpl.java

@ -242,12 +242,19 @@ public class PayPaymentServiceImpl extends ServiceImpl<PayPaymentMapper,PayPayme
payPayment.setSupplierCode(vtbSub.getSupplierCode());
payPayment.setSupplierName(vtbSub.getSupplierName());
payPayment.setCostApplyId(vtbSub.getCostApplyId());
if(1==paymentBo.getRelease()){
payPayment.setPayAmount(notPayAmount);
}
}else if(verificationList.size()>0) {
VtbVerification vtbMain = verificationList.get(0);
payPayment.setSupplierId(vtbMain.getSupplierId());
payPayment.setSupplierCode(vtbMain.getSupplierCode());
payPayment.setSupplierName(vtbMain.getSupplierName());
payPayment.setCostApplyId(vtbMain.getCostApplyId());
if(1==paymentBo.getRelease()){
payPayment.setPayAmount(notPayAmount);
}
}

Loading…
Cancel
Save