Commit f8d5ee28 authored by 李增强's avatar 李增强

m

parent 5506a457
......@@ -63,7 +63,7 @@ class App {
]
});
if (result) {
List<String> ids = list.map((e) => e['id']).toList();
List<String> ids = List<String>.from(list.map((e) => e['id']).toList());
await _db.db
.rawDelete("delete from app_tj where id in('${ids.join("','")}')");
}
......
......@@ -43,7 +43,7 @@ class Exposure {
]
});
if (result) {
List<String> ids = list.map((e) => e['id']).toList();
List<String> ids = List<String>.from(list.map((e) => e['id']).toList());
await _db.db.rawDelete(
"delete from exposure_tj where id in('${ids.join("','")}')");
}
......
......@@ -71,7 +71,7 @@ class Page {
]
});
if (result) {
List<String> ids = list.map((e) => e['id']).toList();
List<String> ids = List<String>.from(list.map((e) => e['id']).toList());
await _db.db
.rawDelete("delete from page_tj where id in('${ids.join("','")}')");
}
......
......@@ -46,7 +46,7 @@ class Tap {
]
});
if (result) {
List<String> ids = list.map((e) => e['id']).toList();
List<String> ids = List<String>.from(list.map((e) => e['id']).toList());
await _db.db
.rawDelete("delete from tap_tj where id in('${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