md
This commit is contained in:
parent
6d23f18615
commit
374ba54d81
@ -1386,6 +1386,10 @@
|
||||
WHERE
|
||||
a.del_flag='0' and a.order_status !='0' and a.order_status!='2'
|
||||
and create_time <![CDATA[ >= ]]> DATE_SUB( CURDATE(), INTERVAL 1 MONTH )
|
||||
and a.bill_code not in (
|
||||
select bill_code from emis_waybill_problem_info ewpi where ewpi.del_flag='0' and FIND_IN_SET( ewpi.`problem_type`, '173,170,151' )
|
||||
)
|
||||
|
||||
<if test="params.privSiteCode != null and params.privSiteCode != '88888'">
|
||||
and (
|
||||
|
||||
@ -1730,7 +1734,7 @@
|
||||
|
||||
<if test="params.problemQueryType != null and params.problemQueryType == 1 and params.problemQueryIds != null and params.problemQueryIds !=''">
|
||||
and a.bill_code in (
|
||||
select bill_code from emis_waybill_problem_info ewpi where ewpi.del_flag='0' and FIND_IN_SET( ewpi.`problem_type`, #{params.problemQueryIds} )
|
||||
select bill_code from emis_waybill_problem_info ewpi where ewpi.del_flag='0' and FIND_IN_SET( ewpi.`problem_type`, #{params.problemQueryIds} )
|
||||
)
|
||||
</if>
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user