From b9d1040df0828690f2f5409ff90c8b5bd2a4d58e Mon Sep 17 00:00:00 2001 From: luoyang Date: Thu, 6 Jun 2019 15:37:20 +0800 Subject: [PATCH] =?UTF-8?q?add=20=E4=B8=89=E7=BA=A7=E5=95=86=E6=88=B7?= =?UTF-8?q?=E5=AD=90=E5=95=86=E6=88=B7=E7=9B=B8=E4=BA=92=E9=80=80=E6=AC=BE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../manage/merchants/core/impls/ClientManagerImpl.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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 ace76c053..5ed719bc9 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 @@ -3230,8 +3230,9 @@ public class ClientManagerImpl implements ClientManager, ManagerTodoNoticeProvid throw new InvalidShortIdException(); } checkOrgPermission(manager, client); - client.put("child_each_refund", childEachRefund); - clientMapper.update(client); + JSONObject clientConfig = clientConfigMapper.find(client.getIntValue("client_id")); + clientConfig.put("child_each_refund", childEachRefund); + clientConfigMapper.update(clientConfig); clientInfoCacheSupport.clearClientCache(client.getIntValue("client_id")); }