Merge branch 'hotfix' into develop

master
wangning 7 years ago
commit dd46237aee

@ -629,7 +629,7 @@ public class ClientManagerImpl implements ClientManager, ManagerTodoNoticeProvid
} }
} }
clientMapper.update(updateInfo); 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); mailGunService.updateClientOfMailList(updateInfo, client);
} }
clientInfoCacheSupport.clearClientCache(clientId); clientInfoCacheSupport.clearClientCache(clientId);
@ -667,7 +667,7 @@ public class ClientManagerImpl implements ClientManager, ManagerTodoNoticeProvid
} }
} }
clientMapper.update(info); 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); mailGunService.updateClientOfMailList(info, client);
} }
clientInfoCacheSupport.clearClientCache(clientId); clientInfoCacheSupport.clearClientCache(clientId);

Loading…
Cancel
Save