This commit is contained in:
2021-04-06 16:54:31 +00:00
parent a670ad5b36
commit d8a4f26962

View File

@@ -142,7 +142,8 @@ namespace AyaNova.Biz
.SingleOrDefaultAsync(z => z.Id == id);
//todo: set isLocked from state
ret.IsLocked=false;
var stat=await GetCurrentWorkOrderStatusFromRelatedAsync(BizType,ret.Id);
ret.IsLocked=stat.Locked;
ret.IsDirty=false;
if (logTheGetEvent && ret != null)