md
This commit is contained in:
parent
fb04bdc67c
commit
7a9183da30
@ -293,8 +293,8 @@
|
|||||||
)
|
)
|
||||||
) tb3,
|
) tb3,
|
||||||
(
|
(
|
||||||
SELECT count( 1 ) AS transCount FROM emis_waybill
|
SELECT count( 1 ) AS transCount FROM emis_waybill a
|
||||||
WHERE del_flag='0' and order_status != '2' AND waybill_status != 0 AND bl_sign != '1'
|
WHERE a.del_flag='0' and a.order_status != '2' AND a.waybill_status != 0 AND a.bl_sign != '1'
|
||||||
and not exists(
|
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` !=null and ewpi.`problem_type` in(173,170,151)
|
select 1 from emis_waybill_problem_info ewpi where a.bill_code=ewpi.bill_code and ewpi.del_flag='0' and ewpi.`problem_type` !=null and ewpi.`problem_type` in(173,170,151)
|
||||||
)
|
)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user