master
wangning 7 years ago
parent 32d34e4979
commit 3b9038eab6

@ -630,8 +630,11 @@ public class ClientManagerImpl implements ClientManager, ManagerTodoNoticeProvid
}
clientMapper.update(updateInfo);
if (!client.getString("contact_email").equals(updateInfo.getString("contact_email"))) {
JSONObject sameMailClients = getByEmail(client.getString("contact_email"),1,1);
if(sameMailClients.getJSONObject("data").size()<1) {
mailGunService.updateClientOfMailList(updateInfo, client);
}
}
clientInfoCacheSupport.clearClientCache(clientId);
}
@ -668,8 +671,11 @@ public class ClientManagerImpl implements ClientManager, ManagerTodoNoticeProvid
}
clientMapper.update(info);
if (!client.getString("contact_email").equals(info.getString("contact_email"))) {
JSONObject sameMailClients = getByEmail(client.getString("contact_email"),1,1);
if(sameMailClients.getJSONObject("data").size()<1) {
mailGunService.updateClientOfMailList(info, client);
}
}
clientInfoCacheSupport.clearClientCache(clientId);
}

Loading…
Cancel
Save