diff --git a/pom.xml b/pom.xml
index d56403813..625a36471 100644
--- a/pom.xml
+++ b/pom.xml
@@ -5,15 +5,14 @@
au.com.royalpay.payment
payment-parent
- 2.2.5
+ 2.2.7
4.0.0
manage
- 2.3.45
+ 2.3.46
UTF-8
2.4.0
- ${project.version}
@@ -266,7 +265,7 @@
192.168.0.84:5000/royalpay/manage-dev
latest
- ${docker-image.version}
+ ${project.version}
@@ -301,7 +300,7 @@
hkccr.ccs.tencentyun.com/rpay/serverjre:openj9
- hkccr.ccs.tencentyun.com/cross-payment-dev/manage-dev:${docker-image.version}
+ hkccr.ccs.tencentyun.com/cross-payment-dev/manage-dev:${project.version}
@@ -336,7 +335,7 @@
hkccr.ccs.tencentyun.com/rpay/serverjre:openj9
- hkccr.ccs.tencentyun.com/rpay/manage:${docker-image.version}
+ hkccr.ccs.tencentyun.com/rpay/manage:${project.version}
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 a08fbade3..95bf441ee 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
@@ -1153,8 +1153,12 @@ public class ClientManagerImpl implements ClientManager, ManagerTodoNoticeProvid
clientModifySupport.processClientConfigModify(new SwitchPermissionModify(manager, clientMoniker, "skip_clearing", false));
if (client.getIntValue("source") == 4 || client.getIntValue("source") == 5) {
List accounts = clientAccountMapper.listAdminAccounts(client.getIntValue("client_id"));
- JSONObject account = accounts.get(0);
- sendInitEmail(client, account.getString("username"), "*****", false);
+ if (accounts == null || accounts.size() <= 0) {
+ initAdminUserAndSendEmail(manager, clientMoniker, client, false);
+ } else {
+ JSONObject account = accounts.get(0);
+ sendInitEmail(client, account.getString("username"), "*****", false);
+ }
// sendInitEmail(manager, client, account.getString("username"), "*****");
saveClientAuditProcess(client.getIntValue("client_id"), open_status, 5, "εθ§ιθΏ", manager, 1);
clientModifySupport.processClientConfigModify(new SwitchPermissionModify(manager, clientMoniker, "skip_clearing", false));