diff --git a/src/main/java/au/com/royalpay/payment/manage/merchants/core/impls/ClientManagerImpl.java b/src/main/java/au/com/royalpay/payment/manage/merchants/core/impls/ClientManagerImpl.java index 04620f581..6ccd85567 100644 --- a/src/main/java/au/com/royalpay/payment/manage/merchants/core/impls/ClientManagerImpl.java +++ b/src/main/java/au/com/royalpay/payment/manage/merchants/core/impls/ClientManagerImpl.java @@ -1967,7 +1967,11 @@ public class ClientManagerImpl implements ClientManager, ManagerTodoNoticeProvid }}; newConfig.put("ext_rates", extRateParams.toJSONString()); } - if (newConfig.getBigDecimal("cb_bankpay_rate_value") != null) { + if ("cb_bankpay".equalsIgnoreCase(channel)) { + if (newConfig.getBigDecimal("cb_bankpay_rate_value") != null) { + clientRateMapper.saveRate(newConfig); + } + } else { clientRateMapper.saveRate(newConfig); } logger.info(clientId + "的" + channel + "费率设置成功");