From 32d34e49797056463d37caca6def983d19d2414f Mon Sep 17 00:00:00 2001 From: wangning <164851225@qq.com> Date: Tue, 5 Jun 2018 18:37:59 +0800 Subject: [PATCH] fixbug --- .../manage/merchants/core/impls/ClientManagerImpl.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/au/com/royalpay/payment/manage/merchants/core/impls/ClientManagerImpl.java b/src/main/java/au/com/royalpay/payment/manage/merchants/core/impls/ClientManagerImpl.java index f1e5120b1..0d791915d 100644 --- a/src/main/java/au/com/royalpay/payment/manage/merchants/core/impls/ClientManagerImpl.java +++ b/src/main/java/au/com/royalpay/payment/manage/merchants/core/impls/ClientManagerImpl.java @@ -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);