1.修复查询主播时可能出现重复的数据

This commit is contained in:
2025-07-03 20:10:31 +08:00
parent a018beab2f
commit 590fc88d87
2 changed files with 6 additions and 0 deletions

View File

@@ -140,6 +140,8 @@
and ns.Invitation_type =#{req.invitationType,jdbcType=INTEGER}
</if>
<!-- 排序类型 -->
group by
ns.hosts_id
order by
<choose>
<!-- 传空和默认的情况下按照时间降序排序 -->
@@ -261,6 +263,8 @@
and ns.Invitation_type =#{req.invitationType,jdbcType=INTEGER}
</if>
<!-- 排序类型 -->
group by
ns.hosts_id
order by
<choose>
<!-- 传空和默认的情况下按照时间降序排序 -->

View File

@@ -94,6 +94,8 @@
</if>
<!-- 排序类型 -->
<!-- 排序类型 -->
group by
ns.hosts_id
order by
<choose>
<!-- 传空和默认的情况下按照时间降序排序 -->