demand: tms-运输管理-漏组批次订单_新-非总部网点可查询全部漏组运单

This commit is contained in:
aike 2025-12-08 09:31:41 +08:00
parent 2096f447d2
commit 439c4cd055

View File

@ -504,9 +504,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="params.endSendDate != null and params.endSendDate != ''">
and w.send_date <![CDATA[ <= ]]> #{params.endSendDate}
</if>
<if test="params.privSiteCode != null and params.privSiteCode != '88888'">
and (w.start_site_code=#{params.privSiteCode} or w.send_site_code=#{params.privSiteCode})
</if>
<!-- <if test="params.privSiteCode != null and params.privSiteCode != '88888'">-->
<!-- and (w.start_site_code=#{params.privSiteCode} or w.send_site_code=#{params.privSiteCode})-->
<!-- </if>-->
<if test="payee != null and payee != ''">
AND w.payee like concat('%', #{payee}, '%')
</if>
@ -594,9 +594,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="transManager != null and transManager != ''">
AND k.trans_manager like concat('%', #{transManager}, '%')
</if>
<if test="params.privSiteCode != null and params.privSiteCode != '88888'">
and (w.start_site_code=#{params.privSiteCode} or w.send_site_code=#{params.privSiteCode} or m.start_site_code=#{params.privSiteCode} or m.next_site_code=#{params.privSiteCode})
</if>
<!-- <if test="params.privSiteCode != null and params.privSiteCode != '88888'">-->
<!-- and (w.start_site_code=#{params.privSiteCode} or w.send_site_code=#{params.privSiteCode} or m.start_site_code=#{params.privSiteCode} or m.next_site_code=#{params.privSiteCode})-->
<!-- </if>-->
<if test="lineCode != null and lineCode != ''">
AND m.line_code = #{lineCode}
</if>