This commit is contained in:
linfso 2024-09-01 23:53:59 +08:00
parent ec743f5a12
commit 6140c5980f

View File

@ -955,7 +955,6 @@
and a.send_date <![CDATA[ <= ]]> #{params.endDate}
</if>
<if test="params.beginSendDate != null and params.beginSendDate != ''">
and a.send_date <![CDATA[ >= ]]> #{params.beginSendDate}
</if>
@ -971,7 +970,7 @@
</if>
<if test="salesmen == null and params.privSiteCode != null and params.privSiteCode != '88888'">
<if test="params.privSiteCode != null and params.privSiteCode != '88888'">
and (
a.send_site_code in (
SELECT t1.site_code FROM (
@ -982,18 +981,8 @@
SELECT #{params.privSiteCode} FROM dual
)
and (
a.take_piece_employee_code=#{params.privEmpCode}
or (a.take_piece_employee_code is null)
)
<!--
or a.salesmen=#{params.privEmpName}
or a.payee=#{params.privEmpName}
or a.operate_employee_code=#{params.privEmpCode}
-->
a.take_piece_employee_code=#{params.privEmpCode} or (a.take_piece_employee_code is null)
)
)
</if>