public WorkEntity GetForm(string keyValue) { WorkEntity model = service.FindEntity(keyValue); if (model != null && !string.IsNullOrWhiteSpace(model.Id)) { string desc = Code.EnumHelp.enumHelp.GetDescription(typeof(WorkStatus), model.FlowStatus); model.FlowStatusName = desc; } return(model); }
public WorkEntity GetForm(string keyValue) { WorkEntity model = service.FindEntity(keyValue); return(model); }