From d120529429f74d5c1f3f900e3469ceb6194411a7 Mon Sep 17 00:00:00 2001 From: gongbiao Date: Sun, 27 Jan 2019 08:37:39 +0800 Subject: [PATCH] =?UTF-8?q?[=E8=B4=A6=E5=8D=95=E9=80=9A=E7=9F=A5][?= =?UTF-8?q?=E4=BF=AE=E6=94=B9][=E6=9F=A5=E8=AF=A2=E8=AF=AD=E5=8F=A5]?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- mallinkService/src/main/resources/mapper/WxBillAllMapper.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mallinkService/src/main/resources/mapper/WxBillAllMapper.xml b/mallinkService/src/main/resources/mapper/WxBillAllMapper.xml index f34e25f07..bf197dfef 100644 --- a/mallinkService/src/main/resources/mapper/WxBillAllMapper.xml +++ b/mallinkService/src/main/resources/mapper/WxBillAllMapper.xml @@ -248,7 +248,7 @@ select bill.tenant_id,bill.merchant_id,bill.receive_date,ifnull(sum(need_pay),0) where DATEDIFF(bill.receive_date,now())=3 and bill.status!=3 group by bill.tenant_id,bill.merchant_id,bill.receive_date) bill left join wx_merchant m on bill.merchant_id=m.id - left join (select tenant_id,`name` appname from wx_appinfo app where type=2) app on bill.tenant_id=app.tenant_id + left join (select tenant_id,`name` appname from wx_appinfo app where type=1) app on bill.tenant_id=app.tenant_id @@ -287,7 +287,7 @@ select bill.tenant_id,bill.merchant_id,bill.receive_date,ifnull(sum(need_pay),0) where DATEDIFF(bill.receive_date,now())<0 and bill.status!=3 group by bill.tenant_id,bill.merchant_id) bill left join wx_merchant m on bill.merchant_id=m.id - left join (select tenant_id,`name` appname from wx_appinfo app where type=2) app on bill.tenant_id=app.tenant_id + left join (select tenant_id,`name` appname from wx_appinfo app where type=1) app on bill.tenant_id=app.tenant_id