md
This commit is contained in:
parent
5418a0391b
commit
d9020bd54a
@ -661,14 +661,17 @@
|
|||||||
</if>
|
</if>
|
||||||
|
|
||||||
<if test="params.problemQueryType != null and params.problemQueryType == 1 and params.problemQueryIds != null and params.problemQueryIds !=''">
|
<if test="params.problemQueryType != null and params.problemQueryType == 1 and params.problemQueryIds != null and params.problemQueryIds !=''">
|
||||||
and FIND_IN_SET(a.`problem_type`,#{params.problemQueryIds})
|
and a.bill_code in (
|
||||||
|
select bill_code from emis_waybill_problem_info ewpi where FIND_IN_SET( ewpi.`problem_type`, #{params.problemQueryIds} )
|
||||||
|
)
|
||||||
</if>
|
</if>
|
||||||
|
|
||||||
<if test="params.problemQueryType != null and params.problemQueryType == 2 and params.problemQueryIds != null and params.problemQueryIds !=''">
|
<if test="params.problemQueryType != null and params.problemQueryType == 2 and params.problemQueryIds != null and params.problemQueryIds !=''">
|
||||||
and <![CDATA[ !FIND_IN_SET(a.`problem_type`,#{params.problemQueryIds}) or a.`problem_type` is null ]]>
|
and a.bill_code not in (
|
||||||
|
select bill_code from emis_waybill_problem_info ewpi where FIND_IN_SET( ewpi.`problem_type`, #{params.problemQueryIds} )
|
||||||
|
)
|
||||||
</if>
|
</if>
|
||||||
|
|
||||||
|
|
||||||
<if test="params.beginOrderDate != null and params.beginOrderDate != ''">
|
<if test="params.beginOrderDate != null and params.beginOrderDate != ''">
|
||||||
and a.order_date <![CDATA[ >= ]]> #{params.beginOrderDate}
|
and a.order_date <![CDATA[ >= ]]> #{params.beginOrderDate}
|
||||||
</if>
|
</if>
|
||||||
@ -1434,15 +1437,18 @@
|
|||||||
</if>
|
</if>
|
||||||
|
|
||||||
<if test="params.problemQueryType != null and params.problemQueryType == 1 and params.problemQueryIds != null and params.problemQueryIds !=''">
|
<if test="params.problemQueryType != null and params.problemQueryType == 1 and params.problemQueryIds != null and params.problemQueryIds !=''">
|
||||||
and FIND_IN_SET( a.`problem_type`,#{params.problemQueryIds})
|
and a.bill_code in (
|
||||||
|
select bill_code from emis_waybill_problem_info ewpi where FIND_IN_SET( ewpi.`problem_type`, #{params.problemQueryIds} )
|
||||||
|
)
|
||||||
</if>
|
</if>
|
||||||
|
|
||||||
<if test="params.problemQueryType != null and params.problemQueryType == 2 and params.problemQueryIds != null and params.problemQueryIds !=''">
|
<if test="params.problemQueryType != null and params.problemQueryType == 2 and params.problemQueryIds != null and params.problemQueryIds !=''">
|
||||||
and ( <![CDATA[ !FIND_IN_SET(a.`problem_type`,#{params.problemQueryIds}) or a.`problem_type` is null ]]> )
|
and a.bill_code not in (
|
||||||
|
select bill_code from emis_waybill_problem_info ewpi where FIND_IN_SET( ewpi.`problem_type`, #{params.problemQueryIds} )
|
||||||
|
)
|
||||||
</if>
|
</if>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<if test="blSign != null and blSign == 1">
|
<if test="blSign != null and blSign == 1">
|
||||||
and a.bl_sign='1'
|
and a.bl_sign='1'
|
||||||
</if>
|
</if>
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user