mirror of
https://github.com/WuKongIM/WuKongIMFlutterSDK
synced 2025-05-29 15:12:20 +00:00
Modify query channel message error issue
This commit is contained in:
parent
c541e7de7d
commit
a0b6bd0edf
@ -37,4 +37,6 @@
|
||||
### 1.1.8
|
||||
* Update message reactions
|
||||
### 1.1.9
|
||||
* Modify message reply to ack issue and Add protocol device flag field
|
||||
* Modify message reply to ack issue and Add protocol device flag field
|
||||
### 1.2.0
|
||||
* Modify query channel message error issue
|
@ -9,7 +9,7 @@
|
||||
#### 安装
|
||||
```
|
||||
dependencies:
|
||||
wukongimfluttersdk: ^1.1.9
|
||||
wukongimfluttersdk: ^1.2.0
|
||||
```
|
||||
#### 引入
|
||||
```dart
|
||||
|
@ -117,7 +117,7 @@ class ConversationDB {
|
||||
sb.write("'");
|
||||
}
|
||||
String sql =
|
||||
"select * from '${WKDBConst.tableConversation}' where channel_id in(${sb.toString()})";
|
||||
"select * from '${WKDBConst.tableConversation}' where channel_id in (${sb.toString()})";
|
||||
List<WKConversationMsg> list = [];
|
||||
List<Map<String, Object?>> results =
|
||||
await WKDBHelper.shared.getDB().rawQuery(sql);
|
||||
|
@ -488,7 +488,7 @@ class MessageDB {
|
||||
"select message_seq from ${WKDBConst.tableMessage} where channel_id='$channelID' and channel_type=$channelType and order_seq>$oldestOrderSeq and message_seq<>0 order by message_seq desc limit 1";
|
||||
} else {
|
||||
sql =
|
||||
"select message_seq from ${WKDBConst.tableMessage} where channel_id=$channelID and channel_type=$channelType and order_seq<$oldestOrderSeq and message_seq<>0 order by message_seq asc limit 1";
|
||||
"select message_seq from ${WKDBConst.tableMessage} where channel_id='$channelID' and channel_type=$channelType and order_seq<$oldestOrderSeq and message_seq<>0 order by message_seq asc limit 1";
|
||||
}
|
||||
|
||||
List<Map<String, Object?>> list =
|
||||
|
@ -15,7 +15,7 @@ description: wukong IM flutter sdk
|
||||
# https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html
|
||||
# In Windows, build-name is used as the major, minor, and patch parts
|
||||
# of the product and file versions while build-number is used as the build suffix.
|
||||
version: 1.1.9
|
||||
version: 1.2.0
|
||||
homepage: https://github.com/WuKongIM/WuKongIMFlutterSDK
|
||||
|
||||
environment:
|
||||
|
Loading…
x
Reference in New Issue
Block a user