This commit is contained in:
linfso 2024-08-04 18:15:49 +08:00
parent f163ff3a07
commit 751e146c82

View File

@ -661,11 +661,11 @@
</if>
<if test="params.problemQueryType != null and params.problemQueryType == 1 and params.problemQueryIds != null and params.problemQueryIds !=''">
and a.FIND_IN_SET(`problem_type`,#{params.problemQueryIds})
and FIND_IN_SET(a.`problem_type`,#{params.problemQueryIds})
</if>
<if test="params.problemQueryType != null and params.problemQueryType == 2 and params.problemQueryIds != null and params.problemQueryIds !=''">
and !a.FIND_IN_SET(`problem_type`,#{params.problemQueryIds})
and !FIND_IN_SET(a.`problem_type`,#{params.problemQueryIds})
</if>
@ -975,11 +975,11 @@
</if>
<if test="params.problemQueryType != null and params.problemQueryType == 1 and params.problemQueryIds != null params.problemQueryIds !=''">
and a.FIND_IN_SET(`problem_type`,#{params.problemQueryIds})
and FIND_IN_SET(a.`problem_type`,#{params.problemQueryIds})
</if>
<if test="params.problemQueryType != null and params.problemQueryType == 2 and params.problemQueryIds != null params.problemQueryIds !=''">
and <![CDATA[ !a.FIND_IN_SET(`problem_type`,#{params.problemQueryIds}) ]]>
and <![CDATA[ !FIND_IN_SET(a.`problem_type`,#{params.problemQueryIds}) ]]>
</if>