Example #1
0
        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);
        }
Example #2
0
        public WorkEntity GetForm(string keyValue)
        {
            WorkEntity model = service.FindEntity(keyValue);

            return(model);
        }