From d9c2bf22f9478b14bde3ae26cc71fed709a4dfd1 Mon Sep 17 00:00:00 2001 From: gongbiao Date: Fri, 7 Sep 2018 20:28:42 +0800 Subject: [PATCH] =?UTF-8?q?[=E7=A7=9F=E9=87=91=E7=AE=A1=E7=90=86][?= =?UTF-8?q?=E4=BF=AE=E6=94=B9]=E4=BF=AE=E6=94=B9=E4=B8=9A=E5=8A=A1?= =?UTF-8?q?=E9=80=BB=E8=BE=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../resources/mapper/WxBillRentMapper.xml | 2 +- .../mapper/WxCUserBasicInfoMapper.xml | 20 +++++++++++++++++++ 2 files changed, 21 insertions(+), 1 deletion(-) diff --git a/mallinkService/src/main/resources/mapper/WxBillRentMapper.xml b/mallinkService/src/main/resources/mapper/WxBillRentMapper.xml index 6f5de73b2..99a77c499 100644 --- a/mallinkService/src/main/resources/mapper/WxBillRentMapper.xml +++ b/mallinkService/src/main/resources/mapper/WxBillRentMapper.xml @@ -18,7 +18,7 @@ - + diff --git a/mallinkService/src/main/resources/mapper/WxCUserBasicInfoMapper.xml b/mallinkService/src/main/resources/mapper/WxCUserBasicInfoMapper.xml index cd82396ac..d4cefec11 100644 --- a/mallinkService/src/main/resources/mapper/WxCUserBasicInfoMapper.xml +++ b/mallinkService/src/main/resources/mapper/WxCUserBasicInfoMapper.xml @@ -176,6 +176,26 @@ cubi.sex,cubi.email,cubi.address,cubi.poins,cubi.`name`,cubi.`level`,cubi.id cubiid from wx_c_user cu left join wx_c_user_basic_info cubi on cu.phone=cubi.phone and cu.tenant_id=cubi.tenant_id + where 1=1 + + and cu.`tenant_id` = #{tenantId} + + + and cu.`phone` = #{phone} + + + and cu.`phone` is not null + + + and cubi.create_date >= #{startTime} + + + + and cubi.update_date <= #{endTime} + + + and cb.`name` like concat('%', #{name},'%') +