导出csv文件时,增加发送人名称、接受者名称、备注名字段

This commit is contained in:
王伟
2023-12-06 15:34:56 +08:00
parent 4a357dca24
commit 0aa1ac964f
11 changed files with 314 additions and 5 deletions

View File

@@ -72,7 +72,7 @@ class Msg:
def get_messages_all(self):
sql = '''
select localId,TalkerId,Type,SubType,IsSender,CreateTime,Status,StrContent,strftime('%Y-%m-%d %H:%M:%S',CreateTime,'unixepoch','localtime') as StrTime,MsgSvrID
select localId,TalkerId,Type,SubType,IsSender,CreateTime,Status,StrContent,strftime('%Y-%m-%d %H:%M:%S',CreateTime,'unixepoch','localtime') as StrTime,MsgSvrID,BytesExtra,StrTalker,Reserved1
from MSG
order by CreateTime
'''