From 8d9b2d3908f6d54b05f56cf1f0f4a195bc9e39e5 Mon Sep 17 00:00:00 2001 From: gongbiao Date: Wed, 23 Oct 2019 18:06:25 +0800 Subject: [PATCH] =?UTF-8?q?[=E5=95=86=E6=88=B7=E8=B4=A6=E5=8D=95][?= =?UTF-8?q?=E4=BF=AE=E6=94=B9][=E6=9F=A5=E8=AF=A2=E6=95=B0=E6=8D=AE]?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/resources/mapper/WxBillAllMapper.xml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/mallinkService/src/main/resources/mapper/WxBillAllMapper.xml b/mallinkService/src/main/resources/mapper/WxBillAllMapper.xml index d1f6fd3a5..7932b4eca 100644 --- a/mallinkService/src/main/resources/mapper/WxBillAllMapper.xml +++ b/mallinkService/src/main/resources/mapper/WxBillAllMapper.xml @@ -655,9 +655,9 @@ depositReceivePay, round((bill.otherReceivePay+bill.otherLatePay+bill.otherServiceChargePay-bill.otherPay)/100,2) otherReceivePay, - round((bill.rentReceivePay+bill.rentLatePay+bill.rentServiceChargePay+bill.propertyReceivePay+bill.depositReceivePay+bill.otherReceivePay - +bill.rentLatePay+bill.propertyLatePay+bill.depositLatePay+bill.otherLatePay+bill.rentServiceChargePay+bill.propertyServiceChargePay - +bill.depositServiceChargePay+bill.otherServiceChargePay + round((bill.rentReceivePay+bill.propertyReceivePay+bill.depositReceivePay+bill.otherReceivePay + +bill.rentLatePay+bill.propertyLatePay+bill.depositLatePay+bill.otherLatePay + +bill.rentServiceChargePay+bill.propertyServiceChargePay+bill.depositServiceChargePay+bill.otherServiceChargePay -bill.rentPay-bill.propertyPay-bill.depositPay-bill.otherPay)/100,2) totalReceivePay @@ -774,7 +774,7 @@ select m.tenant_id,m.id,m.name,ws.shop_number shopNumber,ws.type,m.link_person linkPerson,m.link_phone linkPhone, xb.title business,rc.rental_start_date rentalStartDate,rc.rental_end_date rentalEndDate,rc.rent_shop_type, ifnull(round( - (select sum(bill.receive_pay)+sum(bill.late_pay_price)+bill.receivePay from ( + (select sum(bill.receive_pay)+sum(bill.late_pay_price)+sum(bill.receivePay) from ( select merchant_id,receive_pay,ifnull(service_charge_pay,0) receivePay,late_pay_price from wx_bill_rent where is_preview = 0 and status not in(3,6) union all @@ -818,7 +818,7 @@ )/100,2),0) payOut, (ifnull(round( - (select sum(bill.receive_pay)+sum(bill.late_pay_price)+bill.receivePay from ( + (select sum(bill.receive_pay)+sum(bill.late_pay_price)+sum(bill.receivePay) from ( select merchant_id,receive_pay,ifnull(service_charge_pay,0) receivePay,late_pay_price from wx_bill_rent where is_preview = 0 and status not in(3,6)