修改购买mixin

This commit is contained in:
dzc committed 2025-03-17 12:29:50 +08:00
1 parent d648272f0e
commit 321ae3378a
11 files changed
+113 -32

No files matched your search

+2 -2
View File
@@ -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(