Commit 030514a5 authored by 李增强's avatar 李增强

m

parent 409c2814
......@@ -23,6 +23,12 @@ class QMTJ {
ready = new Future<bool>(() async {
_db = new DB();
await await _db.init();
List<Map> list = await _db.db.query("page_tj");
print("+++++++++++++++++++++++++++++${list.length}");
list.removeAt(0);
List<String> ids = list.map((e) => e['id']);
List<Map> list2 = await _db.db.query("page_tj",where: "id in(?)",whereArgs: [ids.join(",")]);
print("+++++++++++++++++++++++++++++${list2.length}");
return true;
});
}
......
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