mirror of
https://github.com/WuKongIM/WuKongIMFlutterSDK
synced 2025-06-04 20:08:33 +00:00
update sql query
This commit is contained in:
parent
0253ee0136
commit
4cfefa89e5
@ -60,8 +60,8 @@ class ConversationDB {
|
|||||||
lastMsg.unreadCount + conversationMsg.unreadCount;
|
lastMsg.unreadCount + conversationMsg.unreadCount;
|
||||||
row = await WKDBHelper.shared.getDB().update(
|
row = await WKDBHelper.shared.getDB().update(
|
||||||
WKDBConst.tableConversation, getMap(conversationMsg, false),
|
WKDBConst.tableConversation, getMap(conversationMsg, false),
|
||||||
where:
|
where: "channel_id=? and channel_type=?",
|
||||||
"channel_id='${conversationMsg.channelID}' and channel_type=${conversationMsg.channelType}");
|
whereArgs: [conversationMsg.channelID, conversationMsg.channelType]);
|
||||||
}
|
}
|
||||||
if (row > 0) {
|
if (row > 0) {
|
||||||
return getUIMsg(conversationMsg);
|
return getUIMsg(conversationMsg);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user