(improvement)(Headless) fix tag list filter by status (#869)

Co-authored-by: jolunoluo
This commit is contained in:
LXW
2024-03-29 18:28:23 +08:00
committed by GitHub
parent 1ab88360ac
commit 3dcbdb28ad
5 changed files with 10 additions and 18 deletions

View File

@@ -143,12 +143,8 @@
<if test="sensitiveLevel != null">
and t.sensitive_level = #{sensitiveLevel}
</if>
<if test="status != null and status.size >0">
and t.status in
<foreach collection="status" index="index" item="status" open="(" close=")"
separator=",">
#{status}
</foreach>
<if test="status != null">
and t.status = #{status}
</if>
<if test="modelIds != null and modelIds.size >0">
and t.model_id in

View File

@@ -150,12 +150,8 @@
<if test="sensitiveLevel != null">
and t.sensitive_level = #{sensitiveLevel}
</if>
<if test="status != null and status.size >0">
and t.status in
<foreach collection="status" index="index" item="status" open="(" close=")"
separator=",">
#{status}
</foreach>
<if test="status != null">
and t.status = #{status}
</if>
<if test="modelIds != null and modelIds.size >0">
and t.model_id in