示例#1
0
        ///// <summary>
        ///// 方法实例
        ///// </summary>
        ///// <returns></returns>
        //public IList<GAppvalPostModel> ExampleMethod<GAppvalPostModel>(string param)
        //{
        //    //编写代码
        //}


        /// <summary>
        /// 根据审批流程的id查找审批岗位
        /// </summary>
        /// <param name="phid">审批岗位id</param>
        /// <returns></returns>
        public List <GAppvalPostModel> FindAppvalPostByProcID(long phid)
        {
            SqlDao sqlDao = new SqlDao();

            List <GAppvalPostModel> postModels = sqlDao.FindAppvalPostByProcID(phid);

            if (postModels == null)
            {
                return(new List <GAppvalPostModel>());
            }

            return(postModels);
        }