增加语料判断

This commit is contained in:
zren25
2025-03-12 15:02:19 +08:00
parent 2f1fdac8c9
commit 41b858faee
17 changed files with 65 additions and 59 deletions

View File

@@ -11,8 +11,8 @@
tovm.chat_type as chatType
FROM
`tm_ods_vdqw_messagearchiving` tovm
WHERE
tovm.msg_time between #{statTime} and #{endTime}
WHERE tovm.is_deleted = 0
AND tovm.msg_time between #{statTime} and #{endTime}
AND tovm.chat_type = 0
GROUP BY
tovm.from_user_id,
@@ -29,8 +29,8 @@
tovm.chat_type as chatType
FROM
`tm_ods_vdqw_messagearchiving` tovm
WHERE
tovm.msg_time between #{statTime} and #{endTime}
WHERE tovm.is_deleted = 0
AND tovm.msg_time between #{statTime} and #{endTime}
AND tovm.chat_type = 0
GROUP BY
tovm.from_user_id,
@@ -47,8 +47,8 @@
tovm.accept_user_id
FROM
`tm_ods_vdqw_messagearchiving` tovm
WHERE
tovm.msg_time between #{statTime} and #{endTime}
WHERE tovm.is_deleted = 0
AND tovm.msg_time between #{statTime} and #{endTime}
AND tovm.from_user_id IN
<foreach collection="userIdList" item="userId" open="(" separator="," close=")">
#{userId}