1.等级筛选多选

This commit is contained in:
2025-08-01 13:28:19 +08:00
parent 5f1ef25d13
commit 2dc363ab13
5 changed files with 17 additions and 11 deletions

View File

@@ -35,8 +35,11 @@
and ns.is_assigned =#{req.isAssigned,jdbcType=INTEGER}
</if>
<!-- 主播等级筛选 -->
<if test="req.hostsLevel != null and req.hostsLevel != ''">
and ns.hosts_level =#{req.hostsLevel,jdbcType=VARCHAR}
<if test="req.hostsLevel != null and req.hostsLevel.size() > 0">
AND ns.hosts_level IN
<foreach collection="req.hostsLevel" item="level" open="(" separator="," close=")">
#{level, jdbcType=VARCHAR}
</foreach>
</if>
<if test="req.aiOperation != null ">
and ns.ai_operation = #{req.aiOperation,jdbcType=TINYINT}