Exemplo n.º 1
0
        /// <summary>
        /// 根据ID查询批次信息
        /// </summary>
        /// <param name="planId">要查询的批次ID</param>
        /// <returns>类型为Plan的批次对象</returns>
        public Plan Select(int planId)
        {
            Plan plan = dao.GetPlan(planId);

            if (plan != null)
            {
                return(plan);
            }
            return(null);
        }