1.大哥添加粉丝团等级
This commit is contained in:
@@ -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