Kaynağa Gözat

提交

master
gwbvipvip 9 ay önce
ebeveyn
işleme
1efdbf049c
3 değiştirilmiş dosya ile 3 ekleme ve 2 silme
  1. BIN
     
  2. +1
    -0
      BPA.KitChen.GroupMeal.Application/Service/AExternalPlatform/Service/DiningPlateService/Service/DiningPlateService.cs
  3. +2
    -2
      BPA.KitChen.GroupMeal.Application/Service/OneCard/DiningPlate/Service/DiningPlateService.cs

+ 1
- 0
BPA.KitChen.GroupMeal.Application/Service/AExternalPlatform/Service/DiningPlateService/Service/DiningPlateService.cs Dosyayı Görüntüle

@@ -141,6 +141,7 @@ namespace BPA.KitChen.GroupMeal.Application.Service.AExternalPlatform.Service.Di
}
else
{
data.IsPay = inputDto.IsPay;
data.ChipCode = inputDto.ChipCode;
res = await SqlSugarDb.Db.Updateable(data).ExecuteCommandAsync();
}


+ 2
- 2
BPA.KitChen.GroupMeal.Application/Service/OneCard/DiningPlate/Service/DiningPlateService.cs Dosyayı Görüntüle

@@ -48,8 +48,8 @@ namespace BPA.KitChen.GroupMeal.Application.Service.OneCard.DiningPlate.Service
{
var res = db.Queryable<BPA_DiningPlate>()
.Where(x => x.IsDeleted == 0)
.WhereIF(!string.IsNullOrEmpty(inputDto.QRCode), x => x.QRCode == inputDto.QRCode)
.WhereIF(!string.IsNullOrEmpty(inputDto.ChipCode), x => x.ChipCode == inputDto.ChipCode)
.WhereIF(!string.IsNullOrEmpty(inputDto.QRCode), x => x.QRCode.Contains(inputDto.QRCode) )
.WhereIF(!string.IsNullOrEmpty(inputDto.ChipCode), x => x.ChipCode.Contains(inputDto.ChipCode) )
.WhereIF(inputDto.Status.HasValue, x => x.Status == inputDto.Status)
.OrderBy(x => x.CreateAt, OrderByType.Desc)
.Select(t => new DiningPlateDto


Yükleniyor…
İptal
Kaydet