1.大哥添加粉丝团等级
This commit is contained in:
@@ -139,4 +139,13 @@ public class BigBrotherPageReqVO extends PageParam {
|
||||
|
||||
@Schema(description = "国家名称")
|
||||
private String countryName;
|
||||
|
||||
@Schema(description = "粉丝团等级", example = "0")
|
||||
private Integer fansLevel;
|
||||
|
||||
@Schema(description = "粉丝团等级最大值", example = "0")
|
||||
private Integer fansLevelMax;
|
||||
|
||||
@Schema(description = "粉丝团等级最小值", example = "0")
|
||||
private Integer fansLevelMin;
|
||||
}
|
||||
@@ -71,4 +71,8 @@ public class BigBrotherRespVO {
|
||||
@Schema(description = "是否分配")
|
||||
@ExcelProperty("是否分配")
|
||||
private Byte isAssigned;
|
||||
|
||||
@Schema(description = "粉丝团等级", example = "0")
|
||||
@ExcelProperty("粉丝团等级")
|
||||
private Integer fansLevel;
|
||||
}
|
||||
@@ -55,4 +55,8 @@ public class BigBrotherSaveReqVO {
|
||||
@Schema(description = "是否分配", example = "0")
|
||||
private Byte isAssigned;
|
||||
|
||||
@Schema(description = "粉丝团等级", example = "0")
|
||||
private Integer fansLevel;
|
||||
|
||||
|
||||
}
|
||||
@@ -138,4 +138,13 @@ public class EmployeeBigBrotherPageReqVO extends PageParam {
|
||||
|
||||
@Schema(description = "国家名称")
|
||||
private String countryName;
|
||||
|
||||
@Schema(description = "粉丝团等级", example = "0")
|
||||
private Integer fansLevel;
|
||||
|
||||
@Schema(description = "粉丝团等级最大值", example = "0")
|
||||
private Integer fansLevelMax;
|
||||
|
||||
@Schema(description = "粉丝团等级最小值", example = "0")
|
||||
private Integer fansLevelMin;
|
||||
}
|
||||
@@ -72,4 +72,7 @@ public class EmployeeBigBrotherRespVO {
|
||||
@ExcelProperty("是否洽谈")
|
||||
private Integer operationStatus;
|
||||
|
||||
@Schema(description = "粉丝团等级", example = "0")
|
||||
@ExcelProperty("粉丝团等级")
|
||||
private Integer fansLevel;
|
||||
}
|
||||
@@ -49,4 +49,6 @@ public class EmployeeBigBrotherSaveReqVO {
|
||||
@Schema(description = "是否洽谈", example = "2")
|
||||
private Integer operationStatus;
|
||||
|
||||
@Schema(description = "粉丝团等级", example = "0")
|
||||
private Integer fansLevel;
|
||||
}
|
||||
@@ -82,4 +82,6 @@ public class BigBrotherDO extends BaseDO {
|
||||
private Long tenantId;
|
||||
|
||||
private Integer isAssigned;
|
||||
|
||||
private Integer fansLevel;
|
||||
}
|
||||
@@ -82,4 +82,5 @@ public class EmployeeBigBrotherDO extends BaseDO {
|
||||
|
||||
private Long tenantId;
|
||||
|
||||
private Integer fansLevel;
|
||||
}
|
||||
@@ -31,6 +31,7 @@
|
||||
<result column="updater" jdbcType="VARCHAR" property="updater" />
|
||||
<result column="deleted" jdbcType="BOOLEAN" property="deleted" />
|
||||
<result column="tenant_id" jdbcType="BIGINT" property="tenantId" />
|
||||
<result column="fans_level" jdbcType="INTEGER" property="fansLevel" />
|
||||
</resultMap>
|
||||
|
||||
|
||||
@@ -38,7 +39,7 @@
|
||||
<select id="selectPageWithXML" resultType="cn.iocoder.yudao.module.tkdata.dal.dataobject.bigbrother.BigBrotherDO">
|
||||
select sbr.id, sbr.display_id, sbr.user_id_str,sbr.nickname,sbr.level,sbr.hostcoins,
|
||||
sbr.follower_count, sbr.following_count, sbr.region, sbr.historic_high_coins, sbr.total_gift_coins,
|
||||
sbr.host_display_id,sbr.create_time, sbr.is_assigned from
|
||||
sbr.host_display_id,sbr.create_time, sbr.is_assigned,sbr.fans_level from
|
||||
server_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
|
||||
@@ -87,6 +88,17 @@
|
||||
<if test="dto.levelMin != null and dto.levelMax != null " >
|
||||
and sbr.level between #{dto.levelMin,jdbcType=INTEGER} and #{dto.levelMax,jdbcType=INTEGER}
|
||||
</if>
|
||||
<!-- 粉丝团等级筛选 -->
|
||||
<if test="dto.fansLevelMin != null and dto.fansLevelMax == null ">
|
||||
and sbr.fans_level >=#{dto.fansLevelMin,jdbcType=INTEGER}
|
||||
</if>
|
||||
<if test="dto.fansLevelMax != null and dto.fansLevelMin == null ">
|
||||
and sbr.fans_level <=#{dto.fansLevelMax,jdbcType=INTEGER}
|
||||
</if>
|
||||
<if test="dto.fansLevelMin != null and dto.fansLevelMax != null " >
|
||||
and sbr.fans_level between #{dto.fansLevelMin,jdbcType=INTEGER} and #{dto.fansLevelMax,jdbcType=INTEGER}
|
||||
</if>
|
||||
|
||||
<if test="dto.isAssigned != null">
|
||||
and sbr.is_assigned =#{dto.isAssigned}
|
||||
</if>
|
||||
|
||||
@@ -31,6 +31,7 @@
|
||||
<result column="updater" jdbcType="VARCHAR" property="updater" />
|
||||
<result column="deleted" jdbcType="BOOLEAN" property="deleted" />
|
||||
<result column="operation_status" jdbcType="BOOLEAN" property="operationStatus"/>
|
||||
<result column="fans_level" jdbcType="INTEGER" property="fansLevel"/>
|
||||
</resultMap>
|
||||
|
||||
|
||||
@@ -38,7 +39,7 @@
|
||||
resultType="cn.iocoder.yudao.module.tkdata.dal.dataobject.employeebigbrother.EmployeeBigBrotherDO">
|
||||
select sbr.id, sbr.display_id, sbr.user_id_str,sbr.nickname,sbr.level,sbr.hostcoins,
|
||||
sbr.follower_count, sbr.following_count, sbr.region, sbr.historic_high_coins, sbr.total_gift_coins,
|
||||
sbr.host_display_id,sbr.create_time, sbr.user_id, sbr.operation_status 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
|
||||
where sbr.tenant_id=#{dto.tenantId}
|
||||
and sbr.deleted = 0
|
||||
@@ -88,6 +89,16 @@
|
||||
<if test="dto.levelMin != null and dto.levelMax != null " >
|
||||
and sbr.level between #{dto.levelMin,jdbcType=INTEGER} and #{dto.levelMax,jdbcType=INTEGER}
|
||||
</if>
|
||||
<!-- 粉丝团等级筛选 -->
|
||||
<if test="dto.fansLevelMin != null and dto.fansLevelMax == null ">
|
||||
and sbr.fans_level >=#{dto.fansLevelMin,jdbcType=INTEGER}
|
||||
</if>
|
||||
<if test="dto.fansLevelMax != null and dto.fansLevelMin == null ">
|
||||
and sbr.fans_level <=#{dto.fansLevelMax,jdbcType=INTEGER}
|
||||
</if>
|
||||
<if test="dto.fansLevelMin != null and dto.fansLevelMax != null " >
|
||||
and sbr.fans_level between #{dto.fansLevelMin,jdbcType=INTEGER} and #{dto.fansLevelMax,jdbcType=INTEGER}
|
||||
</if>
|
||||
<if test="dto.operationStatus != null">
|
||||
and sbr.operation_status =#{dto.operationStatus}
|
||||
</if>
|
||||
@@ -124,7 +135,7 @@
|
||||
resultType="cn.iocoder.yudao.module.tkdata.dal.dataobject.employeebigbrother.EmployeeBigBrotherDO">
|
||||
select sbr.id, sbr.display_id, sbr.user_id_str,sbr.nickname,sbr.level,sbr.hostcoins,
|
||||
sbr.follower_count, sbr.following_count, sbr.region, sbr.historic_high_coins, sbr.total_gift_coins,
|
||||
sbr.host_display_id,sbr.create_time, sbr.user_id, sbr.operation_status 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
|
||||
where sbr.tenant_id=#{dto.tenantId}
|
||||
and sbr.deleted = 0
|
||||
@@ -176,6 +187,16 @@
|
||||
<if test="dto.levelMin != null and dto.levelMax != null " >
|
||||
and sbr.level between #{dto.levelMin,jdbcType=INTEGER} and #{dto.levelMax,jdbcType=INTEGER}
|
||||
</if>
|
||||
<!-- 粉丝团等级筛选 -->
|
||||
<if test="dto.fansLevelMin != null and dto.fansLevelMax == null ">
|
||||
and sbr.fans_level >=#{dto.fansLevelMin,jdbcType=INTEGER}
|
||||
</if>
|
||||
<if test="dto.fansLevelMax != null and dto.fansLevelMin == null ">
|
||||
and sbr.fans_level <=#{dto.fansLevelMax,jdbcType=INTEGER}
|
||||
</if>
|
||||
<if test="dto.fansLevelMin != null and dto.fansLevelMax != null " >
|
||||
and sbr.fans_level between #{dto.fansLevelMin,jdbcType=INTEGER} and #{dto.fansLevelMax,jdbcType=INTEGER}
|
||||
</if>
|
||||
<if test="dto.operationStatus != null">
|
||||
and sbr.operation_status =#{dto.operationStatus}
|
||||
</if>
|
||||
|
||||
Reference in New Issue
Block a user