1.修复查询数据会出现重复的情况

This commit is contained in:
2025-06-27 15:38:44 +08:00
parent f3114a8e6e
commit 5bcb57013b

View File

@@ -98,6 +98,7 @@
<if test="dto.levelMin != null and dto.levelMax != null " >
and sbr.level between #{dto.levelMin,jdbcType=INTEGER} and #{dto.levelMax,jdbcType=INTEGER}
</if>
group by sbr.display_id
order by
<!-- 排序类型 -->
<choose>
@@ -124,6 +125,5 @@
</if>
</when>
</choose>
</select>
</mapper>