From d8d7c8b7a92fd025c3e30227e20f82149982c135 Mon Sep 17 00:00:00 2001
From: aike <17730485278@139.com>
Date: Sat, 22 Nov 2025 10:21:08 +0800
Subject: [PATCH] =?UTF-8?q?demand:=20=20=20=20tms-=E8=BF=90=E5=8D=95?=
=?UTF-8?q?=E7=AE=A1=E7=90=86-=E6=8E=A5=E5=8D=95/=E8=BF=90=E5=8D=95?=
=?UTF-8?q?=E5=BD=95=E5=85=A5/=E8=BF=90=E5=8D=95=E4=BF=AE=E6=94=B9/?=
=?UTF-8?q?=E7=BD=91=E7=82=B9=E8=B4=B9=E7=94=A8=E7=94=B3=E8=AF=B7-?=
=?UTF-8?q?=E6=9F=A5=E8=AF=A2=E9=94=80=E5=94=AE=E6=94=AF=E6=8C=81=E6=8E=A5?=
=?UTF-8?q?=E5=8F=A3=E8=BF=87=E6=BB=A4=E6=8E=89=E5=91=98=E5=B7=A5=E8=A1=A8?=
=?UTF-8?q?=E5=B7=B2=E5=81=9C=E7=94=A8=E7=9A=84=E5=91=98=E5=B7=A5=E3=80=81?=
=?UTF-8?q?=E8=BF=87=E6=BB=A4=E6=8E=89=E8=AE=A1=E6=8F=90=E8=A1=A8=E5=B7=B2?=
=?UTF-8?q?=E5=81=9C=E7=94=A8=E7=9A=84=E4=B8=94=E5=AF=84=E4=BB=B6=E6=97=A5?=
=?UTF-8?q?=E6=9C=9F=E4=B8=8D=E5=9C=A8=E6=9C=89=E6=95=88=E6=9C=9F=E5=86=85?=
=?UTF-8?q?=E7=9A=84=20committer:=20heyu?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../resources/mapper/EmisSalesCommissionRatioMapper.xml | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/emis-biz/src/main/resources/mapper/EmisSalesCommissionRatioMapper.xml b/emis-biz/src/main/resources/mapper/EmisSalesCommissionRatioMapper.xml
index ff329f785..fb1f6e10b 100644
--- a/emis-biz/src/main/resources/mapper/EmisSalesCommissionRatioMapper.xml
+++ b/emis-biz/src/main/resources/mapper/EmisSalesCommissionRatioMapper.xml
@@ -42,9 +42,12 @@
and start_date <= #{params.sendDate} and end_date >= #{params.sendDate}
+
- and exists(select 1 from sys_user a join emis_sales_commission_ratio b on a.emp_name = b.sales_support
- where a.del_flag='0' and a.bl_open=#{params.userStatus})
+ and exists(select 1 from sys_user
+ where emp_name = emis_sales_commission_ratio.sales_support
+ and del_flag='0'
+ and bl_open=#{params.userStatus})
ORDER BY id DESC