Browse Source

提交

master
gwbvipvip 9 months ago
parent
commit
0babd68a07
1 changed files with 6 additions and 1 deletions
  1. +6
    -1
      BPA.KitChen.StoreManagement.Application/Service/ShopManage/Printer/PrinterServices.cs

+ 6
- 1
BPA.KitChen.StoreManagement.Application/Service/ShopManage/Printer/PrinterServices.cs View File

@@ -293,7 +293,12 @@ namespace BPA.KitChen.StoreManagement.Application.Service.ShopManage.Printer
FoodName =a.FoodName

}).ToList();
return list;
return list.GroupBy(x => x.FoodName).Select(x=>new StoreFoodMenuOutDtocs()
{
FoodId=x.First()?.FoodId,
FoodName=x.First()?.FoodName,

}).ToList() ;
}




Loading…
Cancel
Save