增加语料判断
This commit is contained in:
@@ -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}
|
||||
|
||||
Reference in New Issue
Block a user