fix LastReadedCreateTime 容错

This commit is contained in:
xaoyaoo 2024-07-18 20:19:24 +08:00
parent 705b493770
commit da7f4bfc5e

View File

@ -193,7 +193,7 @@ class ParsingMicroMsg(DatabaseBase):
users = [] users = []
sql = ( sql = (
"SELECT C.Username, C.LastReadedCreateTime,C.LastReadedSvrId " "SELECT C.Username, C.LastReadedCreateTime,C.LastReadedSvrId "
"FROM ChatInfo C " "FROM ChatInfo C WHERE C.LastReadedCreateTime IS NOT NULL AND C.LastReadedCreateTime > 1007911408000 "
"ORDER BY C.LastReadedCreateTime DESC;") "ORDER BY C.LastReadedCreateTime DESC;")
result = self.execute_sql(sql) result = self.execute_sql(sql)
if not result: if not result: