Browse Source

提交

master
gwbvipvip 9 months ago
parent
commit
7288f55fc2
1 changed files with 0 additions and 10 deletions
  1. +0
    -10
      BPA.KitChen.GroupMealOrder.Application/Service/WeighOrder/Service/WeighOrderService.cs

+ 0
- 10
BPA.KitChen.GroupMealOrder.Application/Service/WeighOrder/Service/WeighOrderService.cs View File

@@ -124,15 +124,6 @@ namespace BPA.KitChen.GroupMealOrder.Application.Service.WeighOrder.Service
public async Task<bool> AddWeighOrderGoods(List<WeighOrderGoodsCreateDto> inputDto) public async Task<bool> AddWeighOrderGoods(List<WeighOrderGoodsCreateDto> inputDto)
{ {


try
{

}
catch (Exception e)
{
Console.WriteLine(e);
throw;
}


var ids = inputDto.Select(x => x.OrderId).FirstOrDefault(); var ids = inputDto.Select(x => x.OrderId).FirstOrDefault();
var weighOrder = await db.Queryable<BPA_WeighOrder>().FirstAsync(x => x.Id == ids); var weighOrder = await db.Queryable<BPA_WeighOrder>().FirstAsync(x => x.Id == ids);
@@ -197,7 +188,6 @@ namespace BPA.KitChen.GroupMealOrder.Application.Service.WeighOrder.Service


db.Updateable(weighOrder).ExecuteCommandAsync(); db.Updateable(weighOrder).ExecuteCommandAsync();



} }


return res > 0; return res > 0;


Loading…
Cancel
Save