企微语料查询调整
This commit is contained in:
@@ -15,8 +15,8 @@
|
||||
AND tovm.msg_time between #{statTime} and #{endTime}
|
||||
AND tovm.chat_type = 0
|
||||
GROUP BY
|
||||
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);
|
||||
) tab
|
||||
</select>
|
||||
|
||||
@@ -33,8 +33,8 @@
|
||||
AND tovm.msg_time between #{statTime} and #{endTime}
|
||||
AND tovm.chat_type = 0
|
||||
GROUP BY
|
||||
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);
|
||||
LIMIT #{offset}, #{pageSize}
|
||||
</select>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user