md
This commit is contained in:
parent
ec743f5a12
commit
6140c5980f
@ -955,7 +955,6 @@
|
|||||||
and a.send_date <![CDATA[ <= ]]> #{params.endDate}
|
and a.send_date <![CDATA[ <= ]]> #{params.endDate}
|
||||||
</if>
|
</if>
|
||||||
|
|
||||||
|
|
||||||
<if test="params.beginSendDate != null and params.beginSendDate != ''">
|
<if test="params.beginSendDate != null and params.beginSendDate != ''">
|
||||||
and a.send_date <![CDATA[ >= ]]> #{params.beginSendDate}
|
and a.send_date <![CDATA[ >= ]]> #{params.beginSendDate}
|
||||||
</if>
|
</if>
|
||||||
@ -971,7 +970,7 @@
|
|||||||
</if>
|
</if>
|
||||||
|
|
||||||
|
|
||||||
<if test="salesmen == null and params.privSiteCode != null and params.privSiteCode != '88888'">
|
<if test="params.privSiteCode != null and params.privSiteCode != '88888'">
|
||||||
and (
|
and (
|
||||||
a.send_site_code in (
|
a.send_site_code in (
|
||||||
SELECT t1.site_code FROM (
|
SELECT t1.site_code FROM (
|
||||||
@ -982,18 +981,8 @@
|
|||||||
SELECT #{params.privSiteCode} FROM dual
|
SELECT #{params.privSiteCode} FROM dual
|
||||||
)
|
)
|
||||||
and (
|
and (
|
||||||
a.take_piece_employee_code=#{params.privEmpCode}
|
a.take_piece_employee_code=#{params.privEmpCode} or (a.take_piece_employee_code is null)
|
||||||
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}
|
|
||||||
|
|
||||||
-->
|
|
||||||
|
|
||||||
)
|
)
|
||||||
|
|
||||||
</if>
|
</if>
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user