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

m

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