Authored by Lixiaodi

排序降序

... ... @@ -28,7 +28,7 @@
select
<include refid="Base_Column_List" />
from sale_category where status=0 and level=1
order by order_by
order by order_by desc
</select>
<select id="selectByPidList" resultMap="BaseResultMap">
... ... @@ -37,7 +37,7 @@
<foreach item="item" index="index" collection="pidList" open="(" separator="," close=")">
#{item}
</foreach>
and status=0 order by order_by
and status=0 order by order_by desc
</select>
</mapper>
\ No newline at end of file
... ...