md
This commit is contained in:
parent
1227264561
commit
86659f09e7
@ -1911,8 +1911,8 @@
|
||||
from emis_waybill a
|
||||
<where>
|
||||
a.del_flag='0' and a.order_status !='0' and a.order_status!='2'
|
||||
and a.bill_code not in (
|
||||
select bill_code from emis_waybill_problem_info ewpi where ewpi.del_flag='0' and ewpi.`problem_type` in(171,170,151)
|
||||
and not EXISTS (
|
||||
select 1 from emis_waybill_problem_info ewpi where a.bill_code=ewpi.bill_code and ewpi.del_flag='0' and ewpi.`problem_type` in(173,170,151)
|
||||
)
|
||||
<!--
|
||||
<if test="params.queryDateType != null and params.queryDateType == 1 ">
|
||||
@ -1994,8 +1994,8 @@
|
||||
a.del_flag='0' and a.order_status !='0' and a.order_status!='2'
|
||||
and b.del_flag='0' and c.del_flag='0'
|
||||
and a.receive_country=b.code and a.trans_line_type=c.line_code
|
||||
and a.bill_code not in (
|
||||
select bill_code from emis_waybill_problem_info ewpi where ewpi.del_flag='0' and ewpi.`problem_type` in(171,170,151)
|
||||
and not EXISTS (
|
||||
select 1 from emis_waybill_problem_info ewpi where a.bill_code=ewpi.bill_code and ewpi.del_flag='0' and ewpi.`problem_type` in(173,170,151)
|
||||
)
|
||||
<if test="params.beginDate != null and params.beginDate != ''">
|
||||
and a.send_date <![CDATA[ >= ]]> #{params.beginDate}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user