fix(mapper): 修复删除状态过滤条件并新增主播类型筛选
This commit is contained in:
@@ -145,8 +145,8 @@
|
||||
and deleted = 0
|
||||
</if>
|
||||
<if test="dto.isDelete == 3">
|
||||
and deleted = 0
|
||||
or deleted = 1
|
||||
and (deleted = 0
|
||||
or deleted = 1)
|
||||
</if>
|
||||
<if test="dto.userId != null" >
|
||||
and sbr.user_id = #{dto.userId,jdbcType=VARCHAR}
|
||||
|
||||
@@ -122,6 +122,9 @@
|
||||
<if test="req.country != '' and req.country !=null ">
|
||||
and ns.country = #{req.country}
|
||||
</if>
|
||||
<if test="req.hostsKind != null">
|
||||
and ns.hosts_kind = #{req.hostsKind,jdbcType=INTEGER}
|
||||
</if>
|
||||
<!-- 按照入库时间筛选主播 -->
|
||||
<if test="req.createTime != null">
|
||||
and DATE(ns.create_time) =#{req.createTime}
|
||||
@@ -259,8 +262,8 @@
|
||||
and deleted = 0
|
||||
</if>
|
||||
<if test="req.isDelete == 3">
|
||||
and deleted = 0
|
||||
or deleted = 1
|
||||
and (deleted = 0
|
||||
or deleted = 1)
|
||||
</if>
|
||||
<!-- 筛选员工名下主播 -->
|
||||
<if test="req.userId != null ">
|
||||
@@ -270,6 +273,10 @@
|
||||
<if test="req.region!= '' and req.region != null">
|
||||
and ci.country_group_name =#{req.region,jdbcType=VARCHAR}
|
||||
</if>
|
||||
<!-- 主播类型筛选 -->
|
||||
<if test="req.hostsKind != null">
|
||||
and ns.hosts_kind = #{req.hostsKind,jdbcType=INTEGER}
|
||||
</if>
|
||||
<if test="req.country != '' and req.country !=null ">
|
||||
and ns.country = #{req.country}
|
||||
</if>
|
||||
|
||||
Reference in New Issue
Block a user