From 369cd90e661c22c240cafdd3e96af9dd4b222766 Mon Sep 17 00:00:00 2001 From: linfso Date: Tue, 13 May 2025 19:40:30 +0800 Subject: [PATCH] md --- .../main/resources/mapper/EmisCommissionProfitMapper.xml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/emis-biz/src/main/resources/mapper/EmisCommissionProfitMapper.xml b/emis-biz/src/main/resources/mapper/EmisCommissionProfitMapper.xml index df47b09f4..a7ef3c92f 100644 --- a/emis-biz/src/main/resources/mapper/EmisCommissionProfitMapper.xml +++ b/emis-biz/src/main/resources/mapper/EmisCommissionProfitMapper.xml @@ -35,14 +35,14 @@ sum(if(b.payment_type in(1,3,6),money,0) ) as money, sum(if(b.payment_type in(2,4,5),money,0) ) as month_money from emis_commission_dtl a,emis_waybill b - where del_flag='0' and a.bill_code=b.bill_code + where a.del_flag='0' and a.bill_code=b.bill_code and a.emp_name = #{empName} - and bill_month=#{billMonth} + and a.bill_month=#{billMonth} - group by emp_name,bill_month + group by a.emp_name,a.bill_month