From 66d7799410250731f727139c0fbff3bb316e3f67 Mon Sep 17 00:00:00 2001 From: yechenhao Date: Fri, 22 May 2020 21:46:36 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A4=A7=E5=B1=8F=E6=8E=A5=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../wx/service/QWMailListManageService.java | 22 +++++++++---------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/src/main/java/com/kiisoo/ic/wx/service/QWMailListManageService.java b/src/main/java/com/kiisoo/ic/wx/service/QWMailListManageService.java index e262f0c..9de9377 100644 --- a/src/main/java/com/kiisoo/ic/wx/service/QWMailListManageService.java +++ b/src/main/java/com/kiisoo/ic/wx/service/QWMailListManageService.java @@ -297,17 +297,17 @@ public class QWMailListManageService { customers = new ArrayList<>(); for (String customerStr:customerStrs){ //查询该客户id的关系是否存在 - QueryWrapper customerQueryWrapper = new QueryWrapper<>(); - customerQueryWrapper.eq("external_userid",customerStr).last("limit 1"); - OpCustomer opCustomer = opCustomerDOMapper.selectOne(customerQueryWrapper); - //客户都不存在则直接下一步 - if (opCustomer != null){ - Long relationId = opSellerCustomerRelationDOMapper.selectSellerCustomerRelation(opCustomer.getId(), privilageCpUserDO.getId(), storeId); - //关系存在则不查询明细 - if (relationId != null){ - continue; - } - } +// QueryWrapper customerQueryWrapper = new QueryWrapper<>(); +// customerQueryWrapper.eq("external_userid",customerStr).last("limit 1"); +// OpCustomer opCustomer = opCustomerDOMapper.selectOne(customerQueryWrapper); +// //客户都不存在则直接下一步 +// if (opCustomer != null){ +// Long relationId = opSellerCustomerRelationDOMapper.selectSellerCustomerRelation(opCustomer.getId(), privilageCpUserDO.getId(), storeId); +// //关系存在则不查询明细 +// if (relationId != null){ +// continue; +// } +// } try{ WxCpUserExternalContactInfo contactDetail = externalContactService.getContactDetail(customerStr); customers.add(contactDetail);