mirror of
https://github.com/WuKongIM/WuKongIMFlutterSDK
synced 2025-06-05 20:43:40 +00:00
update query message extra data
This commit is contained in:
parent
4000e3a715
commit
ed59348e25
@ -50,3 +50,5 @@
|
|||||||
* Optimize connection
|
* Optimize connection
|
||||||
### 1.2.5
|
### 1.2.5
|
||||||
* Modifying the issue of disconnected sockets not being destroyed
|
* Modifying the issue of disconnected sockets not being destroyed
|
||||||
|
### 1.2.6
|
||||||
|
* update query message extra data
|
@ -9,7 +9,7 @@
|
|||||||
#### 安装
|
#### 安装
|
||||||
```
|
```
|
||||||
dependencies:
|
dependencies:
|
||||||
wukongimfluttersdk: ^1.2.5
|
wukongimfluttersdk: ^1.2.6
|
||||||
```
|
```
|
||||||
#### 引入
|
#### 引入
|
||||||
```dart
|
```dart
|
||||||
|
@ -104,7 +104,7 @@ class MessageDB {
|
|||||||
|
|
||||||
Future<List<WKMsg>> queryWithMessageIds(List<String> messageIds) async {
|
Future<List<WKMsg>> queryWithMessageIds(List<String> messageIds) async {
|
||||||
String sql =
|
String sql =
|
||||||
"select $messageCols,$extraCols from ${WKDBConst.tableMessage} LEFT JOIN ${WKDBConst.tableMessageExtra} ON ${WKDBConst.tableMessage}.message_id=${WKDBConst.tableMessageExtra}.message_id WHERE ${WKDBConst.tableMessage}.message_id in (${WKDBConst.getPlaceholders(messageIds.length)}})";
|
"select $messageCols,$extraCols from ${WKDBConst.tableMessage} LEFT JOIN ${WKDBConst.tableMessageExtra} ON ${WKDBConst.tableMessage}.message_id=${WKDBConst.tableMessageExtra}.message_id WHERE ${WKDBConst.tableMessage}.message_id in (${WKDBConst.getPlaceholders(messageIds.length)})";
|
||||||
List<WKMsg> list = [];
|
List<WKMsg> list = [];
|
||||||
List<Map<String, Object?>> results =
|
List<Map<String, Object?>> results =
|
||||||
await WKDBHelper.shared.getDB().rawQuery(sql, messageIds);
|
await WKDBHelper.shared.getDB().rawQuery(sql, messageIds);
|
||||||
|
@ -393,18 +393,18 @@ packages:
|
|||||||
dependency: "direct main"
|
dependency: "direct main"
|
||||||
description:
|
description:
|
||||||
name: sqflite
|
name: sqflite
|
||||||
sha256: b3a8307b9519af28518e271e548594bdc435225fc77e8fb22e71a296c69281cf
|
sha256: "591f1602816e9c31377d5f008c2d9ef7b8aca8941c3f89cc5fd9d84da0c38a9a"
|
||||||
url: "https://pub.flutter-io.cn"
|
url: "https://pub.flutter-io.cn"
|
||||||
source: hosted
|
source: hosted
|
||||||
version: "2.0.3+1"
|
version: "2.3.0"
|
||||||
sqflite_common:
|
sqflite_common:
|
||||||
dependency: transitive
|
dependency: transitive
|
||||||
description:
|
description:
|
||||||
name: sqflite_common
|
name: sqflite_common
|
||||||
sha256: "8f7603f3f8f126740bc55c4ca2d1027aab4b74a1267a3e31ce51fe40e3b65b8f"
|
sha256: bb4738f15b23352822f4c42a531677e5c6f522e079461fd240ead29d8d8a54a6
|
||||||
url: "https://pub.flutter-io.cn"
|
url: "https://pub.flutter-io.cn"
|
||||||
source: hosted
|
source: hosted
|
||||||
version: "2.4.5+1"
|
version: "2.5.0+2"
|
||||||
stack_trace:
|
stack_trace:
|
||||||
dependency: transitive
|
dependency: transitive
|
||||||
description:
|
description:
|
||||||
|
@ -15,7 +15,7 @@ description: wukong IM flutter sdk
|
|||||||
# https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html
|
# 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
|
# 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.
|
# of the product and file versions while build-number is used as the build suffix.
|
||||||
version: 1.2.5
|
version: 1.2.6
|
||||||
homepage: https://github.com/WuKongIM/WuKongIMFlutterSDK
|
homepage: https://github.com/WuKongIM/WuKongIMFlutterSDK
|
||||||
|
|
||||||
environment:
|
environment:
|
||||||
@ -34,7 +34,7 @@ dependencies:
|
|||||||
|
|
||||||
# The following adds the Cupertino Icons font to your application.
|
# The following adds the Cupertino Icons font to your application.
|
||||||
# Use with the CupertinoIcons class for iOS style icons.
|
# Use with the CupertinoIcons class for iOS style icons.
|
||||||
path: 1.8.3
|
path: ^1.8.3
|
||||||
encrypt: ^5.0.1
|
encrypt: ^5.0.1
|
||||||
cupertino_icons: ^1.0.2
|
cupertino_icons: ^1.0.2
|
||||||
x25519: ^0.1.1
|
x25519: ^0.1.1
|
||||||
@ -46,7 +46,7 @@ dependencies:
|
|||||||
dio: ^5.3.2
|
dio: ^5.3.2
|
||||||
encryptor: ^0.0.1
|
encryptor: ^0.0.1
|
||||||
shared_preferences: ^2.2.0
|
shared_preferences: ^2.2.0
|
||||||
sqflite: 2.0.3+1
|
sqflite: ^2.3.0
|
||||||
connectivity: ^3.0.6
|
connectivity: ^3.0.6
|
||||||
|
|
||||||
dev_dependencies:
|
dev_dependencies:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user