企微语料查询调整
This commit is contained in:
@@ -16,7 +16,7 @@
|
|||||||
AND tovm.chat_type = 0
|
AND tovm.chat_type = 0
|
||||||
GROUP BY
|
GROUP BY
|
||||||
LEAST(tovm.from_user_id, tovm.accept_user_id),
|
LEAST(tovm.from_user_id, tovm.accept_user_id),
|
||||||
GREATEST(tovm.from_user_id, tovm.accept_user_id);
|
GREATEST(tovm.from_user_id, tovm.accept_user_id)
|
||||||
) tab
|
) tab
|
||||||
</select>
|
</select>
|
||||||
|
|
||||||
@@ -34,7 +34,7 @@
|
|||||||
AND tovm.chat_type = 0
|
AND tovm.chat_type = 0
|
||||||
GROUP BY
|
GROUP BY
|
||||||
LEAST(tovm.from_user_id, tovm.accept_user_id),
|
LEAST(tovm.from_user_id, tovm.accept_user_id),
|
||||||
GREATEST(tovm.from_user_id, tovm.accept_user_id);
|
GREATEST(tovm.from_user_id, tovm.accept_user_id)
|
||||||
LIMIT #{offset}, #{pageSize}
|
LIMIT #{offset}, #{pageSize}
|
||||||
</select>
|
</select>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user