コード例 #1
0
        /// <summary>
        /// 生产不合格走势-列表
        /// </summary>
        /// <param name="TimeType"></param>
        /// <param name="BeginDate"></param>
        /// <param name="EndDate"></param>
        /// <param name="ProductID"></param>
        /// <param name="DeptID"></param>
        /// <param name="XValue"></param>
        /// <param name="OrderBy"></param>
        /// <param name="PageIndex"></param>
        /// <param name="PageCount"></param>
        /// <param name="TotalCount"></param>
        /// <returns></returns>
        public static DataTable GetManNoPassTendencyList(string TimeType, string BeginDate, string EndDate, string ProductID, string DeptID, string XValue, string OrderBy, int PageIndex, int PageCount, ref int TotalCount)
        {
            SqlCommand comm = PurchaseApplyNoPassDBHelper.GetManNoPassTendencyDetail(TimeType, BeginDate, EndDate, ProductID, DeptID, XValue);

            return(SqlHelper.PagerWithCommand(comm, PageIndex, PageCount, OrderBy, ref TotalCount));
        }
コード例 #2
0
        /// <summary>
        /// 生产不合格走势-导出
        /// </summary>
        /// <param name="TimeType"></param>
        /// <param name="BeginDate"></param>
        /// <param name="EndDate"></param>
        /// <param name="ProductID"></param>
        /// <param name="DeptID"></param>
        /// <param name="XValue"></param>
        /// <returns></returns>
        public static DataTable GetManNoPassTendencyOut(string TimeType, string BeginDate, string EndDate, string ProductID, string DeptID, string XValue)
        {
            SqlCommand comm = PurchaseApplyNoPassDBHelper.GetManNoPassTendencyDetail(TimeType, BeginDate, EndDate, ProductID, DeptID, XValue);

            return(SqlHelper.ExecuteSearch(comm));
        }