1.NewHosts 添加 aiOperation,operation_status字段

This commit is contained in:
2025-07-18 16:09:47 +08:00
parent 01b9367523
commit 88a820f81f
5 changed files with 40 additions and 1 deletions

View File

@@ -124,4 +124,12 @@ public class NewHostsPageReqVO extends PageParam {
private String sortName;
private Long tenantId;
@Schema(description = "是否AI建联", example = "1")
private Byte aiOperation;
/**
* 是否建联
*/
@Schema(description = "是否建联", example = "1")
private Byte operationStatus;
}

View File

@@ -76,4 +76,15 @@ public class NewHostsRespVO {
@ExcelProperty("UId")
private String uid;
@Schema(description = "是否AI建联", example = "1")
@ExcelProperty("是否AI建联")
private Byte aiOperation;
/**
* 是否建联
*/
@Schema(description = "是否建联", example = "1")
@ExcelProperty("是否建联")
private Byte operationStatus;
}

View File

@@ -1,5 +1,6 @@
package cn.iocoder.yudao.module.tkdata.controller.admin.newhosts.vo;
import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
@@ -48,4 +49,13 @@ public class NewHostsSaveReqVO {
@Schema(description = "用户 Id", example = "10967")
private Long userId;
@Schema(description = "是否AI建联", example = "1")
private Byte aiOperation;
/**
* 是否建联
*/
@Schema(description = "是否建联", example = "1")
private Byte operationStatus;
}

View File

@@ -78,4 +78,11 @@ public class NewHostsDO extends TenantBaseDO {
private Long userId;
private String uid;
private Byte aiOperation;
/**
* 是否建联
*/
private Byte operationStatus;
}

View File

@@ -12,7 +12,7 @@
<select id="selectPageWithXML" resultType="cn.iocoder.yudao.module.tkdata.dal.dataobject.newhosts.NewHostsDO">
select ns.id,hosts_id, hosts_level, hosts_coins, Invitation_type, fans, fllowernum,
yesterday_coins,ns.create_time, country, online_fans,hosts_kind ,is_assigned,uid ,ns.update_time from server_new_hosts ns left join server_country_info ci ON ns.country = ci.country_name
yesterday_coins,ns.create_time, country, online_fans,hosts_kind ,is_assigned,uid ,ns.update_time,ns.operation_status,ns.ai_operation from server_new_hosts ns left join server_country_info ci ON ns.country = ci.country_name
WHERE tenant_id =#{req.tenantId,jdbcType=BIGINT}
and deleted = 0
<!-- 主播国家筛选 -->
@@ -38,6 +38,9 @@
<if test="req.hostsLevel != null and req.hostsLevel != ''">
and ns.hosts_level =#{req.hostsLevel,jdbcType=VARCHAR}
</if>
<if test="req.aiOperation != null ">
and ns.ai_operation = #{req.aiOperation,jdbcType=TINYINT}
</if>
<!-- 今日主播金币筛选 -->
<if test="req.hostsCoinsMin != null and req.hostsCoinsMax == null ">
and ns.hosts_coins >=#{req.hostsCoinsMin,jdbcType=INTEGER}