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