demand: tms-运单管理-寄件运单查询-增加根据现金客户查询功能

committer: heyu
This commit is contained in:
aike 2025-12-26 14:34:36 +08:00
parent 7285254f24
commit 2613e9a313

View File

@ -1722,6 +1722,9 @@
<if test="updateSite != null and updateSite != ''"> and a.update_site=#{updateSite}</if>
<if test="params.moneyUserId != null and params.moneyUserId != ''">
AND mu.id = #{params.moneyUserId}
</if>
<if test="params.problemQueryType != null and params.problemQueryType == 1 and params.problemQueryIds != null and params.problemQueryIds !=''">
and exists (
select 1 from emis_waybill_problem_info ewpi where a.bill_code=ewpi.bill_code and ewpi.del_flag='0' and FIND_IN_SET( ewpi.`problem_type`, #{params.problemQueryIds} )