new rate config bug for card payment

master
yixian 5 years ago
parent d9e5a2f3cd
commit e713c2128a

@ -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 + "费率设置成功");

Loading…
Cancel
Save