@@ -65,6 +65,7 @@
type = #{type}
</if>
</where>
+ ORDER BY id DESC
</select>
<delete id="deleteByPrimaryKey" parameterType="integer">
@@ -32,6 +32,7 @@
<if test="startTime != null and endTime != null">
AND start_time >= #{startTime} AND start_time <= #{endTime}