Modify query channel message error issue

This commit is contained in:
SL 2023-11-30 22:27:58 +08:00
parent c541e7de7d
commit a0b6bd0edf
5 changed files with 7 additions and 5 deletions

View File

@ -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

View File

@ -9,7 +9,7 @@
#### 安装
```
dependencies:
wukongimfluttersdk: ^1.1.9
wukongimfluttersdk: ^1.2.0
```
#### 引入
```dart

View File

@ -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);

View File

@ -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 =

View File

@ -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: