feat:更新朋友圈排序规则
This commit is contained in:
@@ -53,7 +53,7 @@
|
|||||||
a.create_time AS date
|
a.create_time AS date
|
||||||
FROM moment AS a
|
FROM moment AS a
|
||||||
LEFT JOIN user AS b ON a.create_by = b.id
|
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>
|
||||||
|
|
||||||
<select id="queryMomentById" resultMap="momentResultMap">
|
<select id="queryMomentById" resultMap="momentResultMap">
|
||||||
@@ -66,7 +66,7 @@
|
|||||||
FROM moment AS a
|
FROM moment AS a
|
||||||
LEFT JOIN user AS b ON a.create_by = b.id
|
LEFT JOIN user AS b ON a.create_by = b.id
|
||||||
WHERE a.create_by = #{id}
|
WHERE a.create_by = #{id}
|
||||||
ORDER BY a.update_time DESC
|
ORDER BY a.create_time DESC
|
||||||
</select>
|
</select>
|
||||||
|
|
||||||
<select id="queryMomentImage" resultType="java.lang.String">
|
<select id="queryMomentImage" resultType="java.lang.String">
|
||||||
|
|||||||
Reference in New Issue
Block a user