修改购买mixin
This commit is contained in:
1 parent
d648272f0e
commit
321ae3378a
11 files changed
+113
-32
No files matched your search
@@ -179,7 +179,7 @@ abstract class SyncProductTool {
|
||||
}) async {
|
||||
final app = Get.find<AppControl>();
|
||||
final dataBase = app.dataBase;
|
||||
final productDao = dataBase.getProductDao;
|
||||
final productDao = dataBase.getCanteenSpuDao;
|
||||
final productList = await productDao.getAll(
|
||||
"-1",
|
||||
"-1",
|
||||
@@ -225,7 +225,7 @@ abstract class SyncProductTool {
|
||||
if (ObjectUtil.isEmpty(list)) return;
|
||||
final app = Get.find<AppControl>();
|
||||
final dataBase = app.dataBase;
|
||||
final productDao = dataBase.getProductDao;
|
||||
final productDao = dataBase.getCanteenSpuDao;
|
||||
List<CanteenSpuEntity> changeList = [];
|
||||
for (final v in list) {
|
||||
CanteenSpuEntity item = CanteenSpuEntity(
|
||||
|
||||
Reference in new issue
Block a user