1
This commit is contained in:
@@ -1004,7 +1004,16 @@ namespace Tnb.ProductionMgr
|
||||
var taskReportLogs = new List<PrdMoTask>();
|
||||
var prdTaskList = await db.Queryable<PrdMoTask>().Where(it => input.TaskIds.Contains(it.id)).ToListAsync();
|
||||
if (prdTaskList?.Count > 0)
|
||||
{
|
||||
{
|
||||
/*
|
||||
if (prdTaskList.Where(p => p.mo_task_status == "Closed").Count() > 0 && status == "InProgress")
|
||||
{
|
||||
foreach (var task in prdTaskList.Where(p => p.mo_task_status == "Closed").ToList())
|
||||
{
|
||||
//质检
|
||||
}
|
||||
}
|
||||
*/
|
||||
prdTaskList.ForEach(x => x.mo_task_status = status);
|
||||
row = await db.Updateable(prdTaskList).ExecuteCommandAsync();
|
||||
if (row > 0)
|
||||
|
||||
Reference in New Issue
Block a user