示例#1
0
        /// <summary>
        /// /Reports/LineDailyRpt
        /// </summary>
        /// <param name="begintime"> 查询日期(*)</param>
        /// <param name="groupid">集团id</param>
        /// <param name="companyid">公司id</param>
        /// <param name="foundryid">车间id</param>
        /// <param name="ProductLineId">产线id</param>
        /// <returns></returns>
        public string  LineDailyRpt(string begintime, int?groupid, int?companyid, int?foundryid, int?ProductLineId)
        {
            if (groupid == null && companyid == null && foundryid == null && ProductLineId == null)
            {
                return(Global.RETURN_ERROR("部门编号不能全部为空"));
            }
            ProductionLinesServer pls = new ProductionLinesServer();
            string lineids            = Global.GetLinesStr(groupid, companyid, foundryid, ProductLineId);

            ReportServer rps = new ReportServer();

            return(rps.LineDailyRpt(begintime, lineids));
        }