/// <param name=""begintime"">查询月份(*) /// <param name=""endtime""> 结束日期(*) /// <param name=""groupid"">集团id /// <param name=""companyid"">公司id /// <param name=""foundryid"">车间id /// <param name=""ProductLineId"">产线id" public string DeviceErrMonthRpt(string begintime, int?groupid, int?companyid, int?foundryid, int?ProductLineId, string devicemodel, int islisterr = 1) { 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.DeviceErrMonthRpt(begintime, lineids, devicemodel, islisterr)); }