md
This commit is contained in:
parent
4e580bd9f4
commit
5418a0391b
@ -975,11 +975,15 @@
|
||||
</if>
|
||||
|
||||
<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 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>
|
||||
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user