1.添加主播 flag 旗帜字段

This commit is contained in:
2025-08-19 19:25:38 +08:00
parent 64339f1382
commit 7a704dfde0
10 changed files with 39 additions and 4 deletions

View File

@@ -63,7 +63,7 @@
<select id="selectPageWithXMLWithSelf" resultType="cn.iocoder.yudao.module.tkdata.dal.dataobject.employeehosts.EmployeeHostsDO">
select ns.id,hosts_id, hosts_level, hosts_coins, Invitation_type, fans, fllowernum,
yesterday_coins,ns.create_time, country, online_fans,hosts_kind,remake ,
operation_status,ns.user_id ,ns.update_time from server_employee_hosts ns left join server_country_info ci ON ns.country = ci.country_name
operation_status,ns.user_id ,ns.update_time,ns.flag from server_employee_hosts ns left join server_country_info ci ON ns.country = ci.country_name
WHERE tenant_id =#{req.tenantId,jdbcType=BIGINT}
and ns.user_id =#{req.userId,jdbcType=BIGINT}
<!-- 主播国家筛选 -->
@@ -84,6 +84,10 @@
<if test="req.hostsId != '' and req.hostsId != null ">
and ns.hosts_id like concat(#{req.hostsId,jdbcType=VARCHAR},'%')
</if>
<!-- 主播旗帜搜索 -->
<if test="req.flag != null">
and ns.flag =#{req.flag}
</if>
<!-- 主播等级筛选 -->
<if test="req.hostsLevel != null and req.hostsLevel.size() > 0">
AND ns.hosts_level IN
@@ -191,7 +195,8 @@
<select id="selectPageWithXML" resultType="cn.iocoder.yudao.module.tkdata.dal.dataobject.employeehosts.EmployeeHostsDO">
select ns.id,hosts_id, hosts_level, hosts_coins, Invitation_type, fans, fllowernum,
yesterday_coins,ns.create_time, country, online_fans,hosts_kind,remake ,operation_status,user_id,uid,ns.update_time from server_employee_hosts ns left join server_country_info ci ON ns.country = ci.country_name
yesterday_coins,ns.create_time, country, online_fans,hosts_kind,remake ,operation_status,user_id,uid,ns.update_time,ns.flag
from server_employee_hosts ns left join server_country_info ci ON ns.country = ci.country_name
WHERE tenant_id = #{req.tenantId,jdbcType=BIGINT}
and deleted = 0
<!-- 筛选员工名下主播 -->
@@ -216,6 +221,10 @@
<if test="req.hostsId != '' and req.hostsId != null ">
and ns.hosts_id like concat(#{req.hostsId,jdbcType=VARCHAR},'%')
</if>
<!-- 主播旗帜搜索 -->
<if test="req.flag != null">
and ns.flag =#{req.flag}
</if>
<!-- 主播等级筛选 -->
<if test="req.hostsLevel != null and req.hostsLevel.size() > 0">
AND ns.hosts_level IN