master
wangning 7 years ago
parent eb9595b126
commit 32d34e4979

@ -629,7 +629,7 @@ public class ClientManagerImpl implements ClientManager, ManagerTodoNoticeProvid
}
}
clientMapper.update(updateInfo);
if (client.getString("contact_email").equals(updateInfo.getString("contact_email"))) {
if (!client.getString("contact_email").equals(updateInfo.getString("contact_email"))) {
mailGunService.updateClientOfMailList(updateInfo, client);
}
clientInfoCacheSupport.clearClientCache(clientId);
@ -667,7 +667,7 @@ public class ClientManagerImpl implements ClientManager, ManagerTodoNoticeProvid
}
}
clientMapper.update(info);
if (client.getString("contact_email").equals(info.getString("contact_email"))) {
if (!client.getString("contact_email").equals(info.getString("contact_email"))) {
mailGunService.updateClientOfMailList(info, client);
}
clientInfoCacheSupport.clearClientCache(clientId);

Loading…
Cancel
Save