Browse Source

提交

master
gwbvipvip 9 months ago
parent
commit
12e3400693
9 changed files with 12 additions and 1 deletions
  1. BIN
     
  2. BIN
     
  3. BIN
     
  4. BIN
     
  5. BIN
     
  6. +1
    -0
      BPA.KitChen.GroupMeal.Application/Service/AExternalPlatform/Service/DiningPlateService/Service/DiningPlateService.cs
  7. +2
    -0
      BPA.KitChen.GroupMeal.Application/Service/OneCard/DiningPlate/Dtos/DiningPlateDto.cs
  8. +2
    -0
      BPA.KitChen.GroupMeal.Application/Service/OneCard/DiningPlate/Service/DiningPlateService.cs
  9. +7
    -1
      BPA.KitChen.GroupMeal.Core/Entity/BPA_DiningPlate.cs

BIN
View File


BIN
View File


BIN
View File


BIN
View File


BIN
View File


+ 1
- 0
BPA.KitChen.GroupMeal.Application/Service/AExternalPlatform/Service/DiningPlateService/Service/DiningPlateService.cs View File

@@ -135,6 +135,7 @@ namespace BPA.KitChen.GroupMeal.Application.Service.AExternalPlatform.Service.Di
ChipCode = inputDto.ChipCode,
GroupId = CurrentUser.TenantId,
QRCode = inputDto.QRCode,
IsPay=inputDto.IsPay,
Status = CommonStatus.ENABLE,
}).ExecuteCommandAsync();
}


+ 2
- 0
BPA.KitChen.GroupMeal.Application/Service/OneCard/DiningPlate/Dtos/DiningPlateDto.cs View File

@@ -35,6 +35,8 @@ namespace BPA.KitChen.GroupMeal.Application.Service.OneCard.DiningPlate.Dtos
/// </summary>
public string ChipCode { get; set; }

public bool IsPay { get; set; }

}

public class DiningPlatePageIndexDto : PageInputBase


+ 2
- 0
BPA.KitChen.GroupMeal.Application/Service/OneCard/DiningPlate/Service/DiningPlateService.cs View File

@@ -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;
}


+ 7
- 1
BPA.KitChen.GroupMeal.Core/Entity/BPA_DiningPlate.cs View File

@@ -26,6 +26,12 @@ namespace BPA.KitChen.GroupMeal.Core.Entity
/// </summary>
public string ChipCode { get; set; }


/// <summary>
/// 是否付费餐盘
/// </summary>
public bool IsPay { get; set; }


}
}

Loading…
Cancel
Save