feat(tkdata): 新增按删除状态筛选主播/大哥
This commit is contained in:
@@ -147,4 +147,7 @@ public class EmployeeBigBrotherPageReqVO extends PageParam {
|
|||||||
|
|
||||||
@Schema(description = "粉丝团等级最小值", example = "0")
|
@Schema(description = "粉丝团等级最小值", example = "0")
|
||||||
private Integer fansLevelMin;
|
private Integer fansLevelMin;
|
||||||
|
|
||||||
|
@Schema(description = "是否删除", example = "0")
|
||||||
|
private Integer isDelete;
|
||||||
}
|
}
|
||||||
@@ -136,4 +136,7 @@ public class EmployeeHostsPageReqVO extends PageParam {
|
|||||||
|
|
||||||
@Schema(description = "国家英文名", example = "United States")
|
@Schema(description = "国家英文名", example = "United States")
|
||||||
private String countryEng;
|
private String countryEng;
|
||||||
|
|
||||||
|
@Schema(description = "是否删除", example = "0")
|
||||||
|
private Integer isDelete;
|
||||||
}
|
}
|
||||||
@@ -138,7 +138,16 @@
|
|||||||
sbr.host_display_id,sbr.create_time, sbr.user_id, sbr.operation_status,sbr.fans_level from
|
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
|
server_employee_big_brother sbr left join server_country_info ci ON sbr.region = ci.country_name
|
||||||
where sbr.tenant_id=#{dto.tenantId}
|
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" >
|
<if test="dto.userId != null" >
|
||||||
and sbr.user_id = #{dto.userId,jdbcType=VARCHAR}
|
and sbr.user_id = #{dto.userId,jdbcType=VARCHAR}
|
||||||
</if>
|
</if>
|
||||||
|
|||||||
@@ -252,7 +252,16 @@
|
|||||||
yesterday_coins,ns.create_time, country, online_fans,hosts_kind,remake ,operation_status,user_id,uid,ns.update_time,ns.flag,ns.country_eng
|
yesterday_coins,ns.create_time, country, online_fans,hosts_kind,remake ,operation_status,user_id,uid,ns.update_time,ns.flag,ns.country_eng
|
||||||
from server_employee_hosts ns left join server_country_info ci ON ns.country = ci.country_name
|
from server_employee_hosts ns left join server_country_info ci ON ns.country = ci.country_name
|
||||||
WHERE tenant_id = #{req.tenantId,jdbcType=BIGINT}
|
WHERE tenant_id = #{req.tenantId,jdbcType=BIGINT}
|
||||||
and deleted = 0
|
<if test="req.isDelete == 1">
|
||||||
|
and deleted = 1
|
||||||
|
</if>
|
||||||
|
<if test="req.isDelete == 0">
|
||||||
|
and deleted = 0
|
||||||
|
</if>
|
||||||
|
<if test="req.isDelete == 3">
|
||||||
|
and deleted = 0
|
||||||
|
or deleted = 1
|
||||||
|
</if>
|
||||||
<!-- 筛选员工名下主播 -->
|
<!-- 筛选员工名下主播 -->
|
||||||
<if test="req.userId != null ">
|
<if test="req.userId != null ">
|
||||||
and user_id = #{req.userId,jdbcType=BIGINT}
|
and user_id = #{req.userId,jdbcType=BIGINT}
|
||||||
|
|||||||
Reference in New Issue
Block a user