From 9802bea65a06bd14341ab9a2cd8b63d03ed5d65b Mon Sep 17 00:00:00 2001 From: zhoukeda <1315948824@qq.com> Date: Fri, 21 Jul 2023 17:06:51 +0800 Subject: [PATCH] =?UTF-8?q?=E7=94=9F=E4=BA=A7=E5=85=A5=E5=BA=93=E7=8A=B6?= =?UTF-8?q?=E6=80=81=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ProductionMgr/Tnb.ProductionMgr/PrdInstockService.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ProductionMgr/Tnb.ProductionMgr/PrdInstockService.cs b/ProductionMgr/Tnb.ProductionMgr/PrdInstockService.cs index c56832e0..1406b23d 100644 --- a/ProductionMgr/Tnb.ProductionMgr/PrdInstockService.cs +++ b/ProductionMgr/Tnb.ProductionMgr/PrdInstockService.cs @@ -64,7 +64,7 @@ namespace Tnb.ProductionMgr is_check = input.is_check, org_id = _userManager.GetUserInfo().Result.organizeId, warehouse_id = location?.wh_id, - status = 0, + status = 1, }; foreach (var item in input.details) @@ -181,7 +181,7 @@ namespace Tnb.ProductionMgr foreach (var item in details) { - await db.Updateable().SetColumns(x => x.status == 1) + await db.Updateable().SetColumns(x => x.status == 2) .Where(x => x.id == item.report_id).ExecuteCommandAsync(); } }