Commit 0bb62b2e by Shadow

获取最后一条消息使用id desc排序规则

parent 65062e1c
......@@ -173,7 +173,7 @@
(receivers is null ||
(receivers != null and FIND_IN_SET(#{currentFkClientId}, receivers)))))
ORDER BY id DESC
ORDER BY im_message.id DESC
LIMIT 1
</select>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment