生产入库状态修改

This commit is contained in:
2023-07-21 17:06:51 +08:00
parent d6e7514abc
commit 9802bea65a

View File

@@ -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<PrdReport>().SetColumns(x => x.status == 1)
await db.Updateable<PrdReport>().SetColumns(x => x.status == 2)
.Where(x => x.id == item.report_id).ExecuteCommandAsync();
}
}