diff --git a/Server/extend/WeChatDeviceApi/Adapters/ChuKeBao/Adapter.php b/Server/extend/WeChatDeviceApi/Adapters/ChuKeBao/Adapter.php index f4e62737..ffe44918 100644 --- a/Server/extend/WeChatDeviceApi/Adapters/ChuKeBao/Adapter.php +++ b/Server/extend/WeChatDeviceApi/Adapters/ChuKeBao/Adapter.php @@ -1273,8 +1273,8 @@ class Adapter implements WeChatServiceInterface JOIN s2_wechat_chatroom r ON m.chatroomId = r.chatroomId LEFT JOIN s2_wechat_account a ON a.id = r.wechatAccountId LEFT JOIN s2_company_account c on c.id = a.deviceAccountId - ORDER BY m.id DESC GROUP BY m.wechatId + ORDER BY m.id DESC LIMIT ?, ? ON DUPLICATE KEY UPDATE identifier=VALUES(identifier),