|
|
@@ -124,15 +124,6 @@ namespace BPA.KitChen.GroupMealOrder.Application.Service.WeighOrder.Service |
|
|
|
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 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(); |
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
return res > 0; |
|
|
|