@@ -119,6 +119,7 @@
select id, userId, searchWord, searchDate, delFlag
from user_search_history
where userId = #{userId,jdbcType=BIGINT}
+ order by id desc
</select>
<select id="getSearchHistoryIdByWord" resultType="java.lang.Long">
select id