diff --git a/ProductionMgr/Tnb.ProductionMgr/PrdInstockService.cs b/ProductionMgr/Tnb.ProductionMgr/PrdInstockService.cs index 1406b23d..c56832e0 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 = 1, + status = 0, }; 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 == 2) + await db.Updateable().SetColumns(x => x.status == 1) .Where(x => x.id == item.report_id).ExecuteCommandAsync(); } }