fix add client_moniker

master
luoyang 4 years ago
parent 4f19a86a09
commit 32e1684f5c

@ -9,7 +9,7 @@
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>manage</artifactId>
<version>2.2.14</version>
<version>2.2.15</version>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<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);
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);

Loading…
Cancel
Save