1.等级筛选多选
This commit is contained in:
@@ -78,10 +78,12 @@
|
||||
and operation_status =#{req.operationStatus,jdbcType=INTEGER}
|
||||
</if>
|
||||
<!-- 主播 Id 模糊搜索 -->
|
||||
<if test="req.hostsId != '' and req.hostsId != null ">
|
||||
and ns.hosts_id like concat(#{req.hostsId,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.hostsLevel != null and req.hostsLevel != ''">
|
||||
and ns.hosts_level =#{req.hostsLevel,jdbcType=VARCHAR}
|
||||
@@ -206,8 +208,11 @@
|
||||
and ns.hosts_id like concat(#{req.hostsId,jdbcType=VARCHAR},'%')
|
||||
</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.hostsCoinsMin != null and req.hostsCoinsMax == null ">
|
||||
|
||||
@@ -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}
|
||||
|
||||
Reference in New Issue
Block a user