首页查询优化

This commit is contained in:
谭凯凯
2024-12-27 10:43:25 +08:00
committed by Tankaikai
parent bce2fac418
commit 0618f81f82
2 changed files with 45 additions and 40 deletions

View File

@@ -116,14 +116,12 @@
<if test="sort==null">
order by c.sort asc
</if>
<!--
<if test="sort!=null and sort==1">
order by goodNum desc
</if>
<if test="sort!=null and sort==2">
order by weekGoodNum desc
</if>
-->
</select>
<select id="selectCourseAdmin" resultType="Map">
@@ -246,14 +244,12 @@
<if test="sort==null">
order by c.sort asc,c.create_time desc
</if>
<!--
<if test="sort!=null and sort==1">
order by goodNum desc
</if>
<if test="sort!=null and sort==2">
order by weekGoodNum desc
</if>
-->
</select>
<select id="selectCourseTitle" resultType="Map">