From 32e1684f5c901e0927e9f3febab2fd9cfde05205 Mon Sep 17 00:00:00 2001 From: luoyang Date: Wed, 29 Apr 2020 15:09:38 +0800 Subject: [PATCH] fix add client_moniker --- pom.xml | 2 +- .../payment/manage/merchants/core/impls/ClientManagerImpl.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pom.xml b/pom.xml index 8e19ef62f..eda66a779 100644 --- a/pom.xml +++ b/pom.xml @@ -9,7 +9,7 @@ 4.0.0 manage - 2.2.14 + 2.2.15 UTF-8 1.8.0 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 83dc6942f..d73b5a218 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 @@ -895,7 +895,6 @@ public class ClientManagerImpl implements ClientManager, ManagerTodoNoticeProvid } } updateInfo.put("client_id", clientId); - JSONObject representativeInfo = new JSONObject(); representativeInfo.put("client_id", clientId); representativeInfo.put("representative_person", info.getRepresentativePerson()); @@ -923,6 +922,7 @@ public class ClientManagerImpl implements ClientManager, ManagerTodoNoticeProvid if (info.isEnableCardPayment()) { JSONObject upay = sysClientUpayProfileMapper.findInfo(clientId); if (upay == null) { + updateInfo.put("client_moniker", clientMoniker); sysClientUpayProfileMapper.save(updateInfo); }else { upay.putAll(updateInfo);