|
|
@@ -156,6 +156,7 @@ namespace BPA.KitChen.GroupMeal.Application.Service.OneCard.DiningPlate.Service |
|
|
|
ChipCode = inputDto.ChipCode, |
|
|
|
QRCode = inputDto.QRCode, |
|
|
|
Status = CommonStatus.ENABLE, |
|
|
|
IsPay=inputDto.IsPay, |
|
|
|
}; |
|
|
|
var res=await db.Insertable(data).ExecuteCommandAsync(); |
|
|
|
|
|
|
@@ -189,6 +190,7 @@ namespace BPA.KitChen.GroupMeal.Application.Service.OneCard.DiningPlate.Service |
|
|
|
|
|
|
|
data2.ChipCode = inputDto.ChipCode; |
|
|
|
data2.QRCode = inputDto.QRCode; |
|
|
|
data2.IsPay = inputDto.IsPay; |
|
|
|
var res = await db.Updateable(data2).ExecuteCommandAsync(); |
|
|
|
return res > 0; |
|
|
|
} |
|
|
|