feat:特色菜收费

This commit is contained in:
dzc committed 2026-03-29 16:45:54 +08:00
1 parent e5e24231e7
commit 3729e3b896
18 files changed
+93 -26

No files matched your search

+2 -2
View File
@@ -15,8 +15,8 @@ ServiceAppVersion _$ServiceAppVersionFromJson(Map<String, dynamic> json) =>
versionName: json['versionName'] as String?,
updateContent: json['updateContent'] as String?,
downloadUrl: json['downloadUrl'] as String?,
isForce: JsonTool.stringToBoolean(json['isForce'] as String),
isSilent: JsonTool.stringToBoolean(json['isSilent'] as String),
isForce: JsonTool.stringToBoolean(json['isForce'] as String?),
isSilent: JsonTool.stringToBoolean(json['isSilent'] as String?),
status: json['status'] as String?,
);
+2 -2
View File
@@ -159,7 +159,7 @@ ServiceOpenCard _$ServiceOpenCardFromJson(Map<String, dynamic> json) =>
cardNumber: json['cardNumber'] as String?,
walletId: json['walletId'] as String?,
isActiveHardware:
JsonTool.stringToBoolean(json['isActiveHardware'] as String),
JsonTool.stringToBoolean(json['isActiveHardware'] as String?),
);
Map<String, dynamic> _$ServiceOpenCardToJson(ServiceOpenCard instance) =>
@@ -269,7 +269,7 @@ ServiceBroadcastToday _$ServiceBroadcastTodayFromJson(
content: json['content'] as String,
broadcastCount: (json['broadcastCount'] as num?)?.toInt(),
broadcastMaxCount: (json['broadcastMaxCount'] as num?)?.toInt(),
isBroadcast: JsonTool.stringToBoolean(json['isBroadcast'] as String),
isBroadcast: JsonTool.stringToBoolean(json['isBroadcast'] as String?),
hourType: json['hourType'] as String?,
productDesc: json['productDesc'] as String,
payPrice: (json['payPrice'] as num).toInt(),
@@ -44,7 +44,7 @@ ServiceProduct _$ServiceProductFromJson(Map<String, dynamic> json) =>
)
..price = (json['price'] as num?)?.toInt()
..isPriceIncreased =
JsonTool.stringToBoolean(json['isPriceIncreased'] as String);
JsonTool.stringToBoolean(json['isPriceIncreased'] as String?);
Map<String, dynamic> _$ServiceProductToJson(ServiceProduct instance) =>
<String, dynamic>{
+1 -1
View File
@@ -16,7 +16,7 @@ ServiceUser _$ServiceUserFromJson(Map<String, dynamic> json) => ServiceUser(
walletTypeId: json['walletTypeId'] as String?,
walletBalance: (json['walletBalance'] as num?)?.toInt(),
walletIsFreeze:
JsonTool.stringToBoolean(json['walletIsFreeze'] as String),
JsonTool.stringToBoolean(json['walletIsFreeze'] as String?),
walletCardNumber: json['walletCardNumber'] as String?,
canteenId: json['canteenId'] as String?,
);
@@ -10,16 +10,16 @@ ServicePaySetting _$ServicePaySettingFromJson(Map<String, dynamic> json) =>
ServicePaySetting(
id: json['id'] as String?,
payAmountEnable:
JsonTool.stringToBoolean(json['payAmountEnable'] as String),
JsonTool.stringToBoolean(json['payAmountEnable'] as String?),
payAmountMealLimit: (json['payAmountMealLimit'] as num?)?.toInt(),
payAmountMealTimes: (json['payAmountMealTimes'] as num?)?.toDouble(),
afterSaleRefundReasons: json['afterSaleRefundReasons'] as String?,
afterSaleReturnReasons: json['afterSaleReturnReasons'] as String?,
refreshQrCodeEnable:
JsonTool.stringToBoolean(json['refreshQrCodeEnable'] as String),
JsonTool.stringToBoolean(json['refreshQrCodeEnable'] as String?),
refreshQrCodeFre: (json['refreshQrCodeFre'] as num?)?.toInt(),
offLineOrderApplyEnable:
JsonTool.stringToBoolean(json['offLineOrderApplyEnable'] as String),
JsonTool.stringToBoolean(json['offLineOrderApplyEnable'] as String?),
);
Map<String, dynamic> _$ServicePaySettingToJson(ServicePaySetting instance) =>
@@ -67,7 +67,7 @@ ServiceWallet _$ServiceWalletFromJson(Map<String, dynamic> json) =>
walletTypeId: json['walletTypeId'] as String,
balance: (json['balance'] as num).toInt(),
cardNumber: json['cardNumber'] as String?,
isFreeze: JsonTool.stringToBoolean(json['isFreeze'] as String),
isFreeze: JsonTool.stringToBoolean(json['isFreeze'] as String?),
);
Map<String, dynamic> _$ServiceWalletToJson(ServiceWallet instance) =>