From 35ae7dcc24aaf9f952956325b1f181da370eefc0 Mon Sep 17 00:00:00 2001 From: yuan <1551130722@qq.com> Date: Wed, 1 Aug 2018 17:25:54 +0800 Subject: [PATCH] =?UTF-8?q?=E8=87=AA=E4=B8=BB=E8=BF=9B=E4=BB=B6contact=5Fp?= =?UTF-8?q?hone=E5=8A=A0"+61"?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/db/modify.sql | 3 +++ .../application/core/impls/SimpleClientApplyServiceImpl.java | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/src/db/modify.sql b/src/db/modify.sql index b63ce994d..31d4cfbab 100644 --- a/src/db/modify.sql +++ b/src/db/modify.sql @@ -682,3 +682,6 @@ INSERT INTO `sys_configs` VALUES ('payment.ali.individual_daily_limit', null); INSERT INTO `sys_configs` VALUES ('payment.ali.individual_yearly_limit', null); INSERT INTO `sys_configs` VALUES ('payment.ali.per_order_limit', null); + +update sys_clients set contact_phone = concat('+61',contact_phone) where create_time >'2018-06-01' and source = 4 + diff --git a/src/main/java/au/com/royalpay/payment/manage/application/core/impls/SimpleClientApplyServiceImpl.java b/src/main/java/au/com/royalpay/payment/manage/application/core/impls/SimpleClientApplyServiceImpl.java index 2c167bcd4..f09561c4f 100644 --- a/src/main/java/au/com/royalpay/payment/manage/application/core/impls/SimpleClientApplyServiceImpl.java +++ b/src/main/java/au/com/royalpay/payment/manage/application/core/impls/SimpleClientApplyServiceImpl.java @@ -304,7 +304,7 @@ public class SimpleClientApplyServiceImpl implements SimpleClientApplyService { sysClient.put("royalpayindustry", apply.getString("industry")); sysClient.put("contact_person", apply.getString("contact_person")); sysClient.put("contact_email", apply.getString("contact_email")); - sysClient.put("contact_phone", apply.getString("contact_phone")); + sysClient.put("contact_phone", "+61"+apply.getString("contact_phone")); sysClient.put("company_phone", apply.getString("company_phone")); sysClient.put("client_moniker", clientMoniker); sysClient.put("create_time", new Date());