feat:更新朋友圈排序规则

This commit is contained in:
2025-07-18 17:16:44 +08:00
parent dcc3ca38a7
commit e34a2ccae7

View File

@@ -53,7 +53,7 @@
a.create_time AS date
FROM moment AS a
LEFT JOIN user AS b ON a.create_by = b.id
ORDER BY a.update_time DESC
ORDER BY a.create_time DESC
</select>
<select id="queryMomentById" resultMap="momentResultMap">
@@ -66,7 +66,7 @@
FROM moment AS a
LEFT JOIN user AS b ON a.create_by = b.id
WHERE a.create_by = #{id}
ORDER BY a.update_time DESC
ORDER BY a.create_time DESC
</select>
<select id="queryMomentImage" resultType="java.lang.String">