feat(tkdata): 新增按删除状态筛选主播/大哥
This commit is contained in:
@@ -138,7 +138,16 @@
|
||||
sbr.host_display_id,sbr.create_time, sbr.user_id, sbr.operation_status,sbr.fans_level from
|
||||
server_employee_big_brother sbr left join server_country_info ci ON sbr.region = ci.country_name
|
||||
where sbr.tenant_id=#{dto.tenantId}
|
||||
and sbr.deleted = 0
|
||||
<if test="dto.isDelete == 1">
|
||||
and deleted = 1
|
||||
</if>
|
||||
<if test="dto.isDelete == 0">
|
||||
and deleted = 0
|
||||
</if>
|
||||
<if test="dto.isDelete == 3">
|
||||
and deleted = 0
|
||||
or deleted = 1
|
||||
</if>
|
||||
<if test="dto.userId != null" >
|
||||
and sbr.user_id = #{dto.userId,jdbcType=VARCHAR}
|
||||
</if>
|
||||
|
||||
Reference in New Issue
Block a user