Authored by Lixiaodi

排序降序

@@ -28,7 +28,7 @@ @@ -28,7 +28,7 @@
28 select 28 select
29 <include refid="Base_Column_List" /> 29 <include refid="Base_Column_List" />
30 from sale_category where status=0 and level=1 30 from sale_category where status=0 and level=1
31 - order by order_by 31 + order by order_by desc
32 </select> 32 </select>
33 33
34 <select id="selectByPidList" resultMap="BaseResultMap"> 34 <select id="selectByPidList" resultMap="BaseResultMap">
@@ -37,7 +37,7 @@ @@ -37,7 +37,7 @@
37 <foreach item="item" index="index" collection="pidList" open="(" separator="," close=")"> 37 <foreach item="item" index="index" collection="pidList" open="(" separator="," close=")">
38 #{item} 38 #{item}
39 </foreach> 39 </foreach>
40 - and status=0 order by order_by 40 + and status=0 order by order_by desc
41 </select> 41 </select>
42 42
43 </mapper> 43 </mapper>