예제 #1
0
        /// <param name=""begintime"">开始日期(*)
        /// <param name=""endtime""> 结束日期(*)
        /// <param name=""groupid"">集团id
        /// <param name=""companyid"">公司id
        /// <param name=""foundryid"">车间id
        /// <param name=""ProductLineId"">产线id"
        public string LinePhaseRpt(string begintime, string endtime, 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.LinePhaseRpt(begintime, endtime, lineids));
        }