Commit 8f909688 authored by 李增强's avatar 李增强

m

parent 9e2a4da8
...@@ -25,7 +25,7 @@ class QMTJ { ...@@ -25,7 +25,7 @@ class QMTJ {
await _db.init(); await _db.init();
List<Map> list = await _db.db.query("page_tj"); List<Map> list = await _db.db.query("page_tj");
print("+++++++++++++++++++++++++++++${list.length}"); print("+++++++++++++++++++++++++++++${list.length}");
list.removeAt(0); list.removeLast();
List<String> ids = list.map((e) => e['id']); List<String> ids = list.map((e) => e['id']);
List<Map> list2 = await _db.db List<Map> list2 = await _db.db
.query("page_tj", where: "id in(?)", whereArgs: [ids.join(",")]); .query("page_tj", where: "id in(?)", whereArgs: [ids.join(",")]);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment