|
|
|
@ -369,6 +369,8 @@ public class ClientManagerImpl implements ClientManager, ManagerTodoNoticeProvid
|
|
|
|
|
if (manager != null) {
|
|
|
|
|
checkClientOrg(manager, client);
|
|
|
|
|
}
|
|
|
|
|
// 雷同信息检查
|
|
|
|
|
try {
|
|
|
|
|
String same_phone = clientMapper.findSamePhone(client.getString("contact_phone")).getString("a");
|
|
|
|
|
if (same_phone != null && client.getString("contact_phone") != null && same_phone.contains(" ")) {
|
|
|
|
|
same_phone = same_phone.replace(client.getString("client_moniker"), "");
|
|
|
|
@ -392,7 +394,9 @@ public class ClientManagerImpl implements ClientManager, ManagerTodoNoticeProvid
|
|
|
|
|
same_address = same_address.replace(client.getString("client_moniker"), "");
|
|
|
|
|
client.put("same_address", "(雷同商户:" + same_address + ")");
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
} catch (Exception e) {
|
|
|
|
|
// donothing
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
client.putAll(clientConfigService.find(client.getIntValue("client_id")));
|
|
|
|
|
client.put("unsubscribe", mailUnsubMapper.findOneByClientMoniker(clientMoniker) == null ? false : true);
|
|
|
|
|