From 7288f55fc229193eba442fb72ce6a04c2ced58a8 Mon Sep 17 00:00:00 2001 From: gwbvipvip Date: Tue, 19 Mar 2024 09:37:44 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8F=90=E4=BA=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Service/WeighOrder/Service/WeighOrderService.cs | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/BPA.KitChen.GroupMealOrder.Application/Service/WeighOrder/Service/WeighOrderService.cs b/BPA.KitChen.GroupMealOrder.Application/Service/WeighOrder/Service/WeighOrderService.cs index d200c15..18fb6b6 100644 --- a/BPA.KitChen.GroupMealOrder.Application/Service/WeighOrder/Service/WeighOrderService.cs +++ b/BPA.KitChen.GroupMealOrder.Application/Service/WeighOrder/Service/WeighOrderService.cs @@ -124,15 +124,6 @@ namespace BPA.KitChen.GroupMealOrder.Application.Service.WeighOrder.Service public async Task AddWeighOrderGoods(List inputDto) { - try - { - - } - catch (Exception e) - { - Console.WriteLine(e); - throw; - } var ids = inputDto.Select(x => x.OrderId).FirstOrDefault(); var weighOrder = await db.Queryable().FirstAsync(x => x.Id == ids); @@ -197,7 +188,6 @@ namespace BPA.KitChen.GroupMealOrder.Application.Service.WeighOrder.Service db.Updateable(weighOrder).ExecuteCommandAsync(); - } return res > 0;