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(); } }