demand: tms-运单管理-接单/运单录入/运单修改/网点费用申请-查询销售支持接口过滤掉员工表已停用的员工、过滤掉计提表已停用的且寄件日期不在有效期内的

committer: heyu
This commit is contained in:
aike 2025-11-22 10:05:29 +08:00
parent 647db381d4
commit 06f42e0520

View File

@ -44,7 +44,7 @@
</if>
<if test="params.userStatus != null and params.userStatus != ''">
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=#{userStatus})
where a.del_flag='0' and a.bl_open=#{params.userStatus})
</if>
</where>
ORDER BY id DESC