md
This commit is contained in:
parent
2f091cef12
commit
5cdd7373a9
@ -935,7 +935,7 @@
|
||||
|
||||
<!-- 转单 -->
|
||||
<if test="params.waybillStatType != null and params.waybillStatType == 4">
|
||||
and a.order_status='3'and exists (
|
||||
and a.order_status in('0','3') and exists (
|
||||
select 1 from emis_waybill_change_to ewcto where a.bill_code=ewcto.bill_code and ewcto.change_from=#{params.privEmpCode}
|
||||
)
|
||||
</if>
|
||||
@ -1240,7 +1240,7 @@
|
||||
|
||||
<!-- 转单 -->
|
||||
<if test="params.waybillStatType != null and params.waybillStatType == 4">
|
||||
and a.order_status='3'and exists (
|
||||
and a.order_status in('0','3') and exists (
|
||||
select 1 from emis_waybill_change_to ewcto where a.bill_code=ewcto.bill_code and ewcto.change_from=#{params.privEmpCode}
|
||||
)
|
||||
</if>
|
||||
@ -1781,7 +1781,7 @@
|
||||
|
||||
<!-- 转单 -->
|
||||
<if test="params.waybillStatType != null and params.waybillStatType == 4">
|
||||
and a.order_status='3'and exists (
|
||||
and a.order_status in('0','3') and exists (
|
||||
select 1 from emis_waybill_change_to ewcto where a.bill_code=ewcto.bill_code and ewcto.change_from=#{params.privEmpCode}
|
||||
)
|
||||
</if>
|
||||
@ -2171,7 +2171,7 @@
|
||||
select count(1) as hasChangeToCount
|
||||
from emis_waybill a
|
||||
where a.del_flag='0'
|
||||
and a.order_status='3'
|
||||
and a.order_status in('0','3')
|
||||
<if test="params.privSiteCode != null and params.privSiteCode != '88888'">
|
||||
and a.send_site_code in (
|
||||
SELECT t1.site_code FROM (
|
||||
|
||||
Loading…
Reference in New Issue
Block a user