【修复】教程分页数据接口重复问题
This commit is contained in:
@@ -31,7 +31,7 @@
|
||||
<select id="pageList" resultMap="VOResultMap">
|
||||
<include refid="selectVOSql"/>
|
||||
<where>
|
||||
c.status = 1
|
||||
and c.status = 1
|
||||
and c.lang = #{lang}
|
||||
<if test="categoryId != null and categoryId != 0">
|
||||
AND cc.id = #{categoryId}
|
||||
@@ -40,7 +40,7 @@
|
||||
AND c.tutorial_title like CONCAT('%', #{tutorialTitle}, '%')
|
||||
</if>
|
||||
</where>
|
||||
ORDER BY c.recommend_status,c.create_time asc
|
||||
ORDER BY c.recommend_status,c.create_time,c.id asc
|
||||
</select>
|
||||
|
||||
<!-- 分页查询 -->
|
||||
|
||||
Reference in New Issue
Block a user