生产入库状态修改
This commit is contained in:
@@ -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();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user