This commit is contained in:
2024-08-23 14:47:25 +08:00
parent 4ac3e9582c
commit 39fac9920c
2 changed files with 9 additions and 5 deletions

View File

@@ -565,7 +565,7 @@ namespace Tnb.ProductionMgr
}else if (item.schedule_type==1)
{
BasStandardTime basStandardTime = await _db.Queryable<BasStandardTime>().Where(x=>x.process_id==item.process_id && x.enabled==1).FirstAsync();
item.standard_time = basStandardTime.standard_time;
item.standard_time = basStandardTime?.standard_time ?? "";
}
}
}