Browse Source

20260412ipay88手续费

lijianlin/feature-20260401-现金管理四期
sunjiabei 1 week ago
parent
commit
9a11afc2c3
  1. 5
      src/main/java/com/example/demo/serviceImpl/cash/BankServiceImpl.java

5
src/main/java/com/example/demo/serviceImpl/cash/BankServiceImpl.java

@ -957,8 +957,9 @@ public class BankServiceImpl implements BankService {
int amountInt = (int) Math.round(amountDouble); int amountInt = (int) Math.round(amountDouble);
ipay88DTO.setAmount(String.valueOf(amountInt)); ipay88DTO.setAmount(String.valueOf(amountInt));
double feeDouble = cashCollection.getPermanentGold() * 3.18 * 0.0085;
int feeInt = (int) Math.round(feeDouble);
// double feeDouble = cashCollection.getPermanentGold() * 3.18 * 0.0085;
// int feeInt = (int) Math.round(feeDouble);
int feeInt = 0;
ipay88DTO.setFee(String.valueOf(feeInt)); ipay88DTO.setFee(String.valueOf(feeInt));
int netInt = amountInt-feeInt; int netInt = amountInt-feeInt;

Loading…
Cancel
Save