1.大哥添加粉丝团字段
This commit is contained in:
@@ -165,4 +165,8 @@ public class ServerBigBrotherDTO extends PageRequest implements Serializable {
|
||||
@TableField(value = "hostcoins")
|
||||
@ApiModelProperty(value="大哥打赏的金币")
|
||||
private Integer hostcoins;
|
||||
|
||||
@TableField(value = "fans_level")
|
||||
@ApiModelProperty(value = "大哥粉丝团等级")
|
||||
private Integer fansLevel;
|
||||
}
|
||||
@@ -109,4 +109,7 @@ public class ServerBigBrotherVO {
|
||||
@ApiModelProperty(value="创建时间")
|
||||
private LocalDateTime createTime;
|
||||
|
||||
@TableField(value = "fans_level")
|
||||
@ApiModelProperty(value = "大哥粉丝团等级")
|
||||
private Integer fansLevel;
|
||||
}
|
||||
@@ -46,6 +46,7 @@
|
||||
<result column="total_gift_coins" jdbcType="INTEGER" property="totalGiftCoins" />
|
||||
<result column="host_display_id" jdbcType="VARCHAR" property="hostDisplayId" />
|
||||
<result column="create_time" jdbcType="TIMESTAMP" property="createTime" />
|
||||
<result column="fans_level" jdbcType="INTEGER" property="fansLevel" />
|
||||
</resultMap>
|
||||
|
||||
|
||||
@@ -53,7 +54,7 @@
|
||||
<select id="selectPageByCondition" resultMap="BaseResultMapCopy">
|
||||
select 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 from
|
||||
sbr.host_display_id,sbr.create_time,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}
|
||||
<!-- 大哥所属国家筛选 -->
|
||||
|
||||
Reference in New Issue
Block a user