1.修复查询数据会出现重复的情况
This commit is contained in:
@@ -98,6 +98,7 @@
|
|||||||
<if test="dto.levelMin != null and dto.levelMax != null " >
|
<if test="dto.levelMin != null and dto.levelMax != null " >
|
||||||
and sbr.level between #{dto.levelMin,jdbcType=INTEGER} and #{dto.levelMax,jdbcType=INTEGER}
|
and sbr.level between #{dto.levelMin,jdbcType=INTEGER} and #{dto.levelMax,jdbcType=INTEGER}
|
||||||
</if>
|
</if>
|
||||||
|
group by sbr.display_id
|
||||||
order by
|
order by
|
||||||
<!-- 排序类型 -->
|
<!-- 排序类型 -->
|
||||||
<choose>
|
<choose>
|
||||||
@@ -124,6 +125,5 @@
|
|||||||
</if>
|
</if>
|
||||||
</when>
|
</when>
|
||||||
</choose>
|
</choose>
|
||||||
|
|
||||||
</select>
|
</select>
|
||||||
</mapper>
|
</mapper>
|
||||||
Reference in New Issue
Block a user