1.员工主播 Id 模糊搜索,等级筛选
This commit is contained in:
@@ -81,16 +81,16 @@
|
|||||||
and operation_status =#{req.operationStatus,jdbcType=INTEGER}
|
and operation_status =#{req.operationStatus,jdbcType=INTEGER}
|
||||||
</if>
|
</if>
|
||||||
<!-- 主播 Id 模糊搜索 -->
|
<!-- 主播 Id 模糊搜索 -->
|
||||||
|
<if test="req.hostsId != '' and req.hostsId != null ">
|
||||||
|
and ns.hosts_id like concat(#{req.hostsId,jdbcType=VARCHAR},'%')
|
||||||
|
</if>
|
||||||
|
<!-- 主播等级筛选 -->
|
||||||
<if test="req.hostsLevel != null and req.hostsLevel.size() > 0">
|
<if test="req.hostsLevel != null and req.hostsLevel.size() > 0">
|
||||||
AND ns.hosts_level IN
|
AND ns.hosts_level IN
|
||||||
<foreach collection="req.hostsLevel" item="level" open="(" separator="," close=")">
|
<foreach collection="req.hostsLevel" item="level" open="(" separator="," close=")">
|
||||||
#{level, jdbcType=VARCHAR}
|
#{level, jdbcType=VARCHAR}
|
||||||
</foreach>
|
</foreach>
|
||||||
</if>
|
</if>
|
||||||
<!-- 主播等级筛选 -->
|
|
||||||
<if test="req.hostsLevel != null and req.hostsLevel != ''">
|
|
||||||
and ns.hosts_level =#{req.hostsLevel,jdbcType=VARCHAR}
|
|
||||||
</if>
|
|
||||||
<!-- 今日主播金币筛选 -->
|
<!-- 今日主播金币筛选 -->
|
||||||
<if test="req.hostsCoinsMin != null and req.hostsCoinsMax == null and req.hostsCoinsMax != '' ">
|
<if test="req.hostsCoinsMin != null and req.hostsCoinsMax == null and req.hostsCoinsMax != '' ">
|
||||||
and ns.hosts_coins >=#{req.hostsCoinsMin,jdbcType=INTEGER}
|
and ns.hosts_coins >=#{req.hostsCoinsMin,jdbcType=INTEGER}
|
||||||
|
|||||||
Reference in New Issue
Block a user