feat:超市数据库
This commit is contained in:
1 parent
9a98ac8e1c
commit
fa4bb78f8b
25 files changed
+307
-185
No files matched your search
@@ -227,13 +227,12 @@ abstract class SyncProductTool {
|
||||
final app = Get.find<AppControl>();
|
||||
final dataBase = app.dataBase;
|
||||
final productDao = dataBase.getProductDao;
|
||||
List<ProductEntity> changeList = [];
|
||||
List<CanteenSpuEntity> changeList = [];
|
||||
for (final v in list) {
|
||||
ProductEntity item = ProductEntity(
|
||||
CanteenSpuEntity item = CanteenSpuEntity(
|
||||
serviceUniqueCode: sysType == SysType.CANTEEN
|
||||
? v.spuId.toString()
|
||||
: v.spuId.toString(),
|
||||
sysType: sysType,
|
||||
classifyServiceUniqueCode:
|
||||
v.categoryId != null ? v.categoryId.toString() : "-1",
|
||||
name: v.name!,
|
||||
|
||||
Reference in new issue
Block a user