1.大哥数据添加是否分配字段

This commit is contained in:
2025-07-07 14:39:48 +08:00
parent 21466e5f86
commit e868054e8f
5 changed files with 14 additions and 1 deletions

View File

@@ -38,7 +38,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 from
sbr.host_display_id,sbr.create_time, sbr.is_assigned 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 +87,9 @@
<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.isAssigned != null">
and sbr.is_assigned =#{dto.isAssigned}
</if>
group by sbr.display_id
order by
<!-- 排序类型 -->