1.修改 owner_Id 为 user_Id,和主播业务保持一致
This commit is contained in:
@@ -104,4 +104,6 @@ public class BigBrotherController {
|
|||||||
BeanUtils.toBean(list, BigBrotherRespVO.class));
|
BeanUtils.toBean(list, BigBrotherRespVO.class));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
@@ -49,7 +49,7 @@ public class BigBrotherPageReqVO extends PageParam {
|
|||||||
private String hostDisplayId;
|
private String hostDisplayId;
|
||||||
|
|
||||||
@Schema(description = "该数据所属的账号id", example = "30487")
|
@Schema(description = "该数据所属的账号id", example = "30487")
|
||||||
private String ownerId;
|
private String userId;
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
@@ -62,7 +62,7 @@ public class BigBrotherRespVO {
|
|||||||
|
|
||||||
@Schema(description = "该数据所属的账号id", example = "30487")
|
@Schema(description = "该数据所属的账号id", example = "30487")
|
||||||
@ExcelProperty("该数据所属的账号id")
|
@ExcelProperty("该数据所属的账号id")
|
||||||
private String ownerId;
|
private String userId;
|
||||||
|
|
||||||
@Schema(description = "创建时间")
|
@Schema(description = "创建时间")
|
||||||
@ExcelProperty("创建时间")
|
@ExcelProperty("创建时间")
|
||||||
|
|||||||
@@ -47,6 +47,6 @@ public class BigBrotherSaveReqVO {
|
|||||||
private String hostDisplayId;
|
private String hostDisplayId;
|
||||||
|
|
||||||
@Schema(description = "该数据所属的账号id", example = "30487")
|
@Schema(description = "该数据所属的账号id", example = "30487")
|
||||||
private String ownerId;
|
private String userId;
|
||||||
|
|
||||||
}
|
}
|
||||||
@@ -74,7 +74,7 @@ public class BigBrotherDO extends BaseDO {
|
|||||||
/**
|
/**
|
||||||
* 该数据所属的账号id
|
* 该数据所属的账号id
|
||||||
*/
|
*/
|
||||||
private String ownerId;
|
private String userId;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 该数据所属的租户id
|
* 该数据所属的租户id
|
||||||
|
|||||||
@@ -24,7 +24,7 @@
|
|||||||
<result column="historic_high_coins" jdbcType="INTEGER" property="historicHighCoins" />
|
<result column="historic_high_coins" jdbcType="INTEGER" property="historicHighCoins" />
|
||||||
<result column="total_gift_coins" jdbcType="INTEGER" property="totalGiftCoins" />
|
<result column="total_gift_coins" jdbcType="INTEGER" property="totalGiftCoins" />
|
||||||
<result column="host_display_id" jdbcType="VARCHAR" property="hostDisplayId" />
|
<result column="host_display_id" jdbcType="VARCHAR" property="hostDisplayId" />
|
||||||
<result column="owner_id" jdbcType="VARCHAR" property="ownerId" />
|
<result column="user_id" jdbcType="VARCHAR" property="userId" />
|
||||||
<result column="create_time" jdbcType="TIMESTAMP" property="createTime" />
|
<result column="create_time" jdbcType="TIMESTAMP" property="createTime" />
|
||||||
<result column="update_time" jdbcType="TIMESTAMP" property="updateTime" />
|
<result column="update_time" jdbcType="TIMESTAMP" property="updateTime" />
|
||||||
<result column="creator" jdbcType="BIGINT" property="creator" />
|
<result column="creator" jdbcType="BIGINT" property="creator" />
|
||||||
@@ -58,30 +58,30 @@
|
|||||||
and sbr.display_id like concat(#{dto.displayId,jdbcType=VARCHAR},'%')
|
and sbr.display_id like concat(#{dto.displayId,jdbcType=VARCHAR},'%')
|
||||||
</if>
|
</if>
|
||||||
<!-- 大哥打赏金币筛选 -->
|
<!-- 大哥打赏金币筛选 -->
|
||||||
<if test="dto.hostcoinsMin != null and dto.hostcoinsMax == null and dto.hostcoinsMax != '' ">
|
<if test="dto.hostcoinsMin != null and dto.hostcoinsMax == null ">
|
||||||
and sbr.hostcoins >=#{dto.hostcoinsMin,jdbcType=INTEGER}
|
and sbr.hostcoins >=#{dto.hostcoinsMin,jdbcType=INTEGER}
|
||||||
</if>
|
</if>
|
||||||
<if test="dto.hostcoinsMax != null and dto.hostcoinsMin == null and dto.hostcoinsMin !='' ">
|
<if test="dto.hostcoinsMax != null and dto.hostcoinsMin == null ">
|
||||||
and sbr.hostcoins <=#{dto.hostcoinsMax,jdbcType=INTEGER}
|
and sbr.hostcoins <=#{dto.hostcoinsMax,jdbcType=INTEGER}
|
||||||
</if>
|
</if>
|
||||||
<if test="dto.hostcoinsMin != null and dto.hostcoinsMax != null " >
|
<if test="dto.hostcoinsMin != null and dto.hostcoinsMax != null " >
|
||||||
and sbr.hostcoins between #{dto.hostcoinsMin,jdbcType=INTEGER} and #{dto.hostcoinsMax,jdbcType=INTEGER}
|
and sbr.hostcoins between #{dto.hostcoinsMin,jdbcType=INTEGER} and #{dto.hostcoinsMax,jdbcType=INTEGER}
|
||||||
</if>
|
</if>
|
||||||
<!-- 大哥打赏总金币筛选 -->
|
<!-- 大哥打赏总金币筛选 -->
|
||||||
<if test="dto.totalGiftCoinsMin != null and dto.totalGiftCoinsMax == null and dto.totalGiftCoinsMax != ''">
|
<if test="dto.totalGiftCoinsMin != null and dto.totalGiftCoinsMax == null ">
|
||||||
and sbr.total_gift_coins >=#{dto.totalGiftCoinsMin,jdbcType=INTEGER}
|
and sbr.total_gift_coins >=#{dto.totalGiftCoinsMin,jdbcType=INTEGER}
|
||||||
</if>
|
</if>
|
||||||
<if test="dto.totalGiftCoinsMax != null and dto.totalGiftCoinsMin == null and dto.totalGiftCoinsMin != '' ">
|
<if test="dto.totalGiftCoinsMax != null and dto.totalGiftCoinsMin == null ">
|
||||||
and sbr.total_gift_coins <=#{dto.totalGiftCoinsMax,jdbcType=INTEGER}
|
and sbr.total_gift_coins <=#{dto.totalGiftCoinsMax,jdbcType=INTEGER}
|
||||||
</if>
|
</if>
|
||||||
<if test="dto.totalGiftCoinsMin != null and dto.totalGiftCoinsMax != null " >
|
<if test="dto.totalGiftCoinsMin != null and dto.totalGiftCoinsMax != null " >
|
||||||
and sbr.total_gift_coins between #{dto.totalGiftCoinsMin,jdbcType=INTEGER} and #{dto.totalGiftCoinsMax,jdbcType=INTEGER}
|
and sbr.total_gift_coins between #{dto.totalGiftCoinsMin,jdbcType=INTEGER} and #{dto.totalGiftCoinsMax,jdbcType=INTEGER}
|
||||||
</if>
|
</if>
|
||||||
<!-- 大哥等级筛选 -->
|
<!-- 大哥等级筛选 -->
|
||||||
<if test="dto.levelMin != null and dto.levelMax == null and dto.levelMax != ''">
|
<if test="dto.levelMin != null and dto.levelMax == null ">
|
||||||
and sbr.level >=#{dto.levelMin,jdbcType=INTEGER}
|
and sbr.level >=#{dto.levelMin,jdbcType=INTEGER}
|
||||||
</if>
|
</if>
|
||||||
<if test="dto.levelMax != null and dto.levelMin == null and dto.levelMin != '' ">
|
<if test="dto.levelMax != null and dto.levelMin == null ">
|
||||||
and sbr.level <=#{dto.levelMax,jdbcType=INTEGER}
|
and sbr.level <=#{dto.levelMax,jdbcType=INTEGER}
|
||||||
</if>
|
</if>
|
||||||
<if test="dto.levelMin != null and dto.levelMax != null " >
|
<if test="dto.levelMin != null and dto.levelMax != null " >
|
||||||
|
|||||||
Reference in New Issue
Block a user