fix add client_moniker

master
luoyang 4 years ago
parent 33b2e61555
commit 7eb50a8f5f

@ -9,7 +9,7 @@
</parent> </parent>
<modelVersion>4.0.0</modelVersion> <modelVersion>4.0.0</modelVersion>
<artifactId>manage</artifactId> <artifactId>manage</artifactId>
<version>2.2.14</version> <version>2.2.15</version>
<properties> <properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<jib-maven-plugin.version>1.8.0</jib-maven-plugin.version> <jib-maven-plugin.version>1.8.0</jib-maven-plugin.version>

@ -895,7 +895,6 @@ public class ClientManagerImpl implements ClientManager, ManagerTodoNoticeProvid
} }
} }
updateInfo.put("client_id", clientId); updateInfo.put("client_id", clientId);
JSONObject representativeInfo = new JSONObject(); JSONObject representativeInfo = new JSONObject();
representativeInfo.put("client_id", clientId); representativeInfo.put("client_id", clientId);
representativeInfo.put("representative_person", info.getRepresentativePerson()); representativeInfo.put("representative_person", info.getRepresentativePerson());
@ -923,6 +922,7 @@ public class ClientManagerImpl implements ClientManager, ManagerTodoNoticeProvid
if (info.isEnableCardPayment()) { if (info.isEnableCardPayment()) {
JSONObject upay = sysClientUpayProfileMapper.findInfo(clientId); JSONObject upay = sysClientUpayProfileMapper.findInfo(clientId);
if (upay == null) { if (upay == null) {
updateInfo.put("client_moniker", clientMoniker);
sysClientUpayProfileMapper.save(updateInfo); sysClientUpayProfileMapper.save(updateInfo);
}else { }else {
upay.putAll(updateInfo); upay.putAll(updateInfo);

Loading…
Cancel
Save