Example #1
0
        /// <summary>
        /// 获取工作阶段
        /// </summary>
        /// <param name="WorkStage"></param>
        /// <returns></returns>
        protected string ConvertPostType(object PostType)
        {
            string name = string.Empty;

            if (PostType != null)
            {
                string          postType = PostType.ToString().Trim();
                Model.Sys_Const c        = ConstValue.drpConstItemList(ConstValue.Group_PostType).FirstOrDefault(x => x.ConstValue == postType);
                if (c != null)
                {
                    name = c.ConstText;
                }
            }
            return(name);
        }