1.生产开报工、报表增加销售订单号查询字段及列表字段
| | |
| | | /// <param name="mesorderstus">å·¥åç¶æç </param> |
| | | /// <param name="mesordercode">å·¥åç¼å·</param> |
| | | /// <param name="sourceorder">æºååå·</param> |
| | | /// <param name="saleordercode">éå®è®¢åå·</param> |
| | | /// <param name="ordertype">åæ®ç±»å</param> |
| | | /// <param name="partcode">产åç¼ç </param> |
| | | /// <param name="partname">产ååç§°</param> |
| | |
| | | /// <returns></returns> |
| | | [Route(template: "MesOrderBitchClosedSearch")] |
| | | [HttpGet] |
| | | public HttpResponseMessage MesOrderBitchClosedSearch(string mesorderstus = null, string mesordercode = null, string sourceorder = null, string ordertype = null, string partcode = null, string partname = null, string partspec = null, string creatuser = null, string createdate = null, int page = 0, int rows = 0, string prop = null, string order = null) |
| | | public HttpResponseMessage MesOrderBitchClosedSearch(string mesorderstus = null, string mesordercode = null, string sourceorder = null,string saleordercode=null, string ordertype = null, string partcode = null, string partname = null, string partspec = null, string creatuser = null, string createdate = null, int page = 0, int rows = 0, string prop = null, string order = null) |
| | | { |
| | | var stu_torgcode = HttpContext.Current.Request.Cookies["stu_torgcode"].Value.ToString(); //æå±ç»ç» |
| | | var stu_torgtypecode = HttpContext.Current.Request.Cookies["description"].Value.ToString(); //æå±ç»ç»ç±»å |
| | | int startNum = rows * (page - 1) + 1; //èµ·å§è®°å½rowNum |
| | | int endNum = rows * page; //ç»æè®°å½ rowNum |
| | | mes = ProductionManagementBLL.MesOrderBitchClosedSearch(stu_torgcode, stu_torgtypecode,mesorderstus, mesordercode, sourceorder, ordertype, partcode, partname, partspec, startNum, creatuser, createdate, endNum, prop, order); |
| | | mes = ProductionManagementBLL.MesOrderBitchClosedSearch(stu_torgcode, stu_torgtypecode,mesorderstus, mesordercode, sourceorder, saleordercode, ordertype, partcode, partname, partspec, startNum, creatuser, createdate, endNum, prop, order); |
| | | return TJson.toJson(mes); |
| | | } |
| | | #endregion |
| | |
| | | /// </summary> |
| | | /// <param name="wkshopcode">车é´ç¼ç </param> |
| | | /// <param name="wocode">å·¥åç¼å·</param> |
| | | /// <param name="saleordercode">éå®è®¢åå·</param> |
| | | /// <param name="partcode">产åç¼ç </param> |
| | | /// <param name="partname">产ååç§°</param> |
| | | /// <param name="partspec">è§æ ¼åå·</param> |
| | |
| | | /// <returns></returns> |
| | | [Route(template: "OutSourceReportSearch")] |
| | | [HttpGet] |
| | | public HttpResponseMessage OutSourceReportSearch(int page, int rows, string prop, string order,string wkshopcode=null, string wocode = null, string partcode = null, string partname = null, string partspec = null, string stepname = null, string suppername = null, string type = null,string receivdate=null) |
| | | public HttpResponseMessage OutSourceReportSearch(int page, int rows, string prop, string order,string wkshopcode=null, string wocode = null,string saleordercode=null, string partcode = null, string partname = null, string partspec = null, string stepname = null, string suppername = null, string type = null,string receivdate=null) |
| | | { |
| | | string receivopendate = ""; //æ¶æå¼å§æ¶é´ |
| | | string receivclosedate = ""; //æ¶æç»ææ¶é´ |
| | |
| | | } |
| | | int startNum = rows * (page - 1) + 1; //èµ·å§è®°å½rowNum |
| | | int endNum = rows * page; //ç»æè®°å½ rowNum |
| | | mes = ReportManagerBLL.OutSourceReportSearch(wkshopcode,wocode, partcode, partname, partspec, stepname, suppername, type, receivopendate, receivclosedate, startNum, endNum, prop, order); |
| | | mes = ReportManagerBLL.OutSourceReportSearch(wkshopcode,wocode, saleordercode, partcode, partname, partspec, stepname, suppername, type, receivopendate, receivclosedate, startNum, endNum, prop, order); |
| | | return TJson.toJson(mes); |
| | | } |
| | | #endregion |
| | |
| | | /// </summary> |
| | | /// <param name="wkshopcode">车é´ç¼ç </param> |
| | | /// <param name="wocode">å·¥åç¼å·</param> |
| | | /// <param name="saleordercode">éå®è®¢åå·</param> |
| | | /// <param name="partcode">产åç¼ç </param> |
| | | /// <param name="partname">产ååç§°</param> |
| | | /// <param name="partspec">è§æ ¼åå·</param> |
| | |
| | | /// <returns></returns> |
| | | [Route(template: "OutSourceReportExcelSearch")] |
| | | [HttpGet] |
| | | public HttpResponseMessage OutSourceReportExcelSearch(string wkshopcode = null, string wocode = null, string partcode = null, string partname = null, string partspec = null, string stepname = null, string suppername = null, string type = null, string receivdate = null) |
| | | public HttpResponseMessage OutSourceReportExcelSearch(string wkshopcode = null, string wocode = null,string saleordercode=null, string partcode = null, string partname = null, string partspec = null, string stepname = null, string suppername = null, string type = null, string receivdate = null) |
| | | { |
| | | string receivopendate = ""; //æ¶æå¼å§æ¶é´ |
| | | string receivclosedate = ""; //æ¶æç»ææ¶é´ |
| | |
| | | receivopendate = receivdate.Split('~')[0].ToString(); |
| | | receivclosedate = receivdate.Split('~')[1].ToString(); |
| | | } |
| | | mes = ReportManagerBLL.OutSourceReportExcelSearch(wkshopcode,wocode, partcode, partname, partspec, stepname, suppername, type, receivopendate, receivclosedate); |
| | | mes = ReportManagerBLL.OutSourceReportExcelSearch(wkshopcode,wocode, saleordercode, partcode, partname, partspec, stepname, suppername, type, receivopendate, receivclosedate); |
| | | return TJson.toJson(mes); |
| | | } |
| | | #endregion |
| | |
| | | /// <param name=" wkshopcode">车é´ç¼ç </param> |
| | | /// <param name="compute">è®¡ç®æ¹å¼(éé/æ«é)</param> |
| | | /// <param name="wocode">å·¥åç¼å·</param> |
| | | /// <param name="saleordercode">éå®è®¢åå·</param> |
| | | /// <param name="partcode">产åç¼ç </param> |
| | | /// <param name="partname">产ååç§°</param> |
| | | /// <param name="partspec">è§æ ¼åå·</param> |
| | |
| | | /// <returns></returns> |
| | | [Route(template: "GroupSalaryReportSearch")] |
| | | [HttpGet] |
| | | public HttpResponseMessage GroupSalaryReportSearch(int page, int rows, string prop, string order, string compute, string wkshopcode = null, string wocode = null, string partcode = null, string partname = null, string partspec = null, string stepname = null, string groupcode = null, string username = null, string operdate = null,string rejectstepcode=null) |
| | | public HttpResponseMessage GroupSalaryReportSearch(int page, int rows, string prop, string order, string compute, string wkshopcode = null, string wocode = null,string saleordercode=null, string partcode = null, string partname = null, string partspec = null, string stepname = null, string groupcode = null, string username = null, string operdate = null,string rejectstepcode=null) |
| | | { |
| | | string operopendate = ""; //æ¥å·¥å¼å§æ¶é´ |
| | | string operclosedate = ""; //æ¥å·¥ç»ææ¶é´ |
| | |
| | | } |
| | | int startNum = rows * (page - 1) + 1; //èµ·å§è®°å½rowNum |
| | | int endNum = rows * page; //ç»æè®°å½ rowNum |
| | | mes = ReportManagerBLL.GroupSalaryReportSearch(wkshopcode,compute, wocode, partcode, partname, partspec, stepname, groupcode, username, operopendate, operclosedate, rejectstepcode, startNum, endNum, prop, order); |
| | | mes = ReportManagerBLL.GroupSalaryReportSearch(wkshopcode,compute, wocode, saleordercode, partcode, partname, partspec, stepname, groupcode, username, operopendate, operclosedate, rejectstepcode, startNum, endNum, prop, order); |
| | | return TJson.toJson(mes); |
| | | } |
| | | #endregion |
| | |
| | | /// <param name=" wkshopcode">车é´ç¼ç </param> |
| | | /// <param name="compute">è®¡ç®æ¹å¼(éé/æ«é)</param> |
| | | /// <param name="wocode">å·¥åç¼å·</param> |
| | | /// <param name="saleordercode">éå®è®¢åå·</param> |
| | | /// <param name="partcode">产åç¼ç </param> |
| | | /// <param name="partname">产ååç§°</param> |
| | | /// <param name="partspec">è§æ ¼åå·</param> |
| | |
| | | /// <returns></returns> |
| | | [Route(template: "GroupSalaryReportExcelSearch")] |
| | | [HttpGet] |
| | | public HttpResponseMessage GroupSalaryReportExcelSearch(string compute, string wkshopcode = null, string wocode = null, string partcode = null, string partname = null, string partspec = null, string stepname = null, string groupcode = null, string username = null, string operdate = null,string rejectstepcode=null) |
| | | public HttpResponseMessage GroupSalaryReportExcelSearch(string compute, string wkshopcode = null, string wocode = null,string saleordercode=null, string partcode = null, string partname = null, string partspec = null, string stepname = null, string groupcode = null, string username = null, string operdate = null,string rejectstepcode=null) |
| | | { |
| | | string operopendate = ""; //æ¥å·¥å¼å§æ¶é´ |
| | | string operclosedate = ""; //æ¥å·¥ç»ææ¶é´ |
| | |
| | | operopendate = operdate.Split('~')[0].ToString(); |
| | | operclosedate = operdate.Split('~')[1].ToString(); |
| | | } |
| | | mes = ReportManagerBLL.GroupSalaryReportExcelSearch(wkshopcode,compute, wocode, partcode, partname, partspec, stepname, groupcode, username, operopendate, operclosedate, rejectstepcode); |
| | | mes = ReportManagerBLL.GroupSalaryReportExcelSearch(wkshopcode,compute, wocode, saleordercode, partcode, partname, partspec, stepname, groupcode, username, operopendate, operclosedate, rejectstepcode); |
| | | return TJson.toJson(mes); |
| | | } |
| | | #endregion |
| | |
| | | /// <param name=" wkshopcode">车é´ç¼ç </param> |
| | | /// <param name="compute">è®¡ç®æ¹å¼(éé/æ«é)</param> |
| | | /// <param name="wocode">å·¥åç¼å·</param> |
| | | /// <param name="saleordercode">éå®è®¢åå·</param> |
| | | /// <param name="partcode">产åç¼ç </param> |
| | | /// <param name="partname">产ååç§°</param> |
| | | /// <param name="partspec">è§æ ¼åå·</param> |
| | |
| | | /// <returns></returns> |
| | | [Route(template: "PeopleSalaryReportSearch")] |
| | | [HttpGet] |
| | | public HttpResponseMessage PeopleSalaryReportSearch(int page, int rows, string prop, string order,string compute, string wkshopcode = null, string wocode = null, string partcode = null, string partname = null, string partspec = null, string stepname = null, string groupcode = null, string reportname = null, string reportdate = null,string rejectstepcode=null) |
| | | public HttpResponseMessage PeopleSalaryReportSearch(int page, int rows, string prop, string order,string compute, string wkshopcode = null, string wocode = null,string saleordercode=null, string partcode = null, string partname = null, string partspec = null, string stepname = null, string groupcode = null, string reportname = null, string reportdate = null,string rejectstepcode=null) |
| | | { |
| | | string reportopendate = ""; //æ¥å·¥å¼å§æ¶é´ |
| | | string reportclosedate = ""; //æ¥å·¥ç»ææ¶é´ |
| | |
| | | } |
| | | int startNum = rows * (page - 1) + 1; //èµ·å§è®°å½rowNum |
| | | int endNum = rows * page; //ç»æè®°å½ rowNum |
| | | mes = ReportManagerBLL.PeopleSalaryReportSearch(wkshopcode,compute, wocode, partcode, partname, partspec, stepname, groupcode, reportname, reportopendate, reportclosedate, rejectstepcode, startNum, endNum, prop, order); |
| | | mes = ReportManagerBLL.PeopleSalaryReportSearch(wkshopcode,compute, wocode, saleordercode, partcode, partname, partspec, stepname, groupcode, reportname, reportopendate, reportclosedate, rejectstepcode, startNum, endNum, prop, order); |
| | | return TJson.toJson(mes); |
| | | } |
| | | #endregion |
| | |
| | | /// <param name=" wkshopcode">车é´ç¼ç </param> |
| | | /// <param name="compute">è®¡ç®æ¹å¼(éé/æ«é)</param> |
| | | /// <param name="wocode">å·¥åç¼å·</param> |
| | | /// <param name="saleordercode">éå®è®¢åå·</param> |
| | | /// <param name="partcode">产åç¼ç </param> |
| | | /// <param name="partname">产ååç§°</param> |
| | | /// <param name="partspec">è§æ ¼åå·</param> |
| | |
| | | /// <returns></returns> |
| | | [Route(template: "PeopleSalaryReportExcelSearch")] |
| | | [HttpGet] |
| | | public HttpResponseMessage PeopleSalaryReportExcelSearch(string compute, string wkshopcode = null, string wocode = null, string partcode = null, string partname = null, string partspec = null, string stepname = null, string groupcode = null, string reportname = null, string reportdate = null,string rejectstepcode=null) |
| | | public HttpResponseMessage PeopleSalaryReportExcelSearch(string compute, string wkshopcode = null, string wocode = null,string saleordercode=null, string partcode = null, string partname = null, string partspec = null, string stepname = null, string groupcode = null, string reportname = null, string reportdate = null,string rejectstepcode=null) |
| | | { |
| | | string reportopendate = ""; //æ¥å·¥å¼å§æ¶é´ |
| | | string reportclosedate = ""; //æ¥å·¥ç»ææ¶é´ |
| | |
| | | reportopendate = reportdate.Split('~')[0].ToString(); |
| | | reportclosedate = reportdate.Split('~')[1].ToString(); |
| | | } |
| | | mes = ReportManagerBLL.PeopleSalaryReportExcelSearch(wkshopcode,compute, wocode, partcode, partname, partspec, stepname, groupcode, reportname, reportopendate, reportclosedate, rejectstepcode); |
| | | mes = ReportManagerBLL.PeopleSalaryReportExcelSearch(wkshopcode,compute, wocode, saleordercode, partcode, partname, partspec, stepname, groupcode, reportname, reportopendate, reportclosedate, rejectstepcode); |
| | | return TJson.toJson(mes); |
| | | } |
| | | #endregion |
| | |
| | | /// </summary> |
| | | /// <param name=" wkshopcode">车é´ç¼ç </param> |
| | | /// <param name="wocode">å·¥åç¼å·</param> |
| | | /// <param name="saleordercode">éå®è®¢åå·</param> |
| | | /// <param name="partcode">产åç¼ç </param> |
| | | /// <param name="partname">产ååç§°</param> |
| | | /// <param name="partspec">è§æ ¼åå·</param> |
| | |
| | | /// <returns></returns> |
| | | [Route(template: "DefectDetailsReportSearch")] |
| | | [HttpGet] |
| | | public HttpResponseMessage DefectDetailsReportSearch(int page, int rows, string prop, string order,string wkshopcode=null, string wocode = null, string partcode = null, string partname = null, string partspec = null, string stepname = null,string defectcode=null,string defectname=null, string reportname = null, string reportdate = null) |
| | | public HttpResponseMessage DefectDetailsReportSearch(int page, int rows, string prop, string order,string wkshopcode=null, string wocode = null,string saleordercode=null, string partcode = null, string partname = null, string partspec = null, string stepname = null,string defectcode=null,string defectname=null, string reportname = null, string reportdate = null) |
| | | { |
| | | string reportopendate = ""; //æ¥å·¥å¼å§æ¶é´ |
| | | string reportclosedate = ""; //æ¥å·¥ç»ææ¶é´ |
| | |
| | | } |
| | | int startNum = rows * (page - 1) + 1; //èµ·å§è®°å½rowNum |
| | | int endNum = rows * page; //ç»æè®°å½ rowNum |
| | | mes = ReportManagerBLL.DefectDetailsReportSearch(wkshopcode,wocode, partcode, partname, partspec, stepname, defectcode, defectname, reportname, reportopendate, reportclosedate, startNum, endNum, prop, order); |
| | | mes = ReportManagerBLL.DefectDetailsReportSearch(wkshopcode,wocode, saleordercode, partcode, partname, partspec, stepname, defectcode, defectname, reportname, reportopendate, reportclosedate, startNum, endNum, prop, order); |
| | | return TJson.toJson(mes); |
| | | } |
| | | #endregion |
| | |
| | | /// </summary> |
| | | /// <param name=" wkshopcode">车é´ç¼ç </param> |
| | | /// <param name="wocode">å·¥åç¼å·</param> |
| | | /// <param name="saleordercode">éå®è®¢åå·</param> |
| | | /// <param name="partcode">产åç¼ç </param> |
| | | /// <param name="partname">产ååç§°</param> |
| | | /// <param name="partspec">è§æ ¼åå·</param> |
| | |
| | | /// <returns></returns> |
| | | [Route(template: "DefectDetailsReportExcelSearch")] |
| | | [HttpGet] |
| | | public HttpResponseMessage DefectDetailsReportExcelSearch(string wkshopcode=null, string wocode = null, string partcode = null, string partname = null, string partspec = null, string stepname = null, string defectcode = null, string defectname = null, string reportname = null, string reportdate = null) |
| | | public HttpResponseMessage DefectDetailsReportExcelSearch(string wkshopcode=null, string wocode = null,string saleordercode=null, string partcode = null, string partname = null, string partspec = null, string stepname = null, string defectcode = null, string defectname = null, string reportname = null, string reportdate = null) |
| | | { |
| | | string reportopendate = ""; //æ¥å·¥å¼å§æ¶é´ |
| | | string reportclosedate = ""; //æ¥å·¥ç»ææ¶é´ |
| | |
| | | reportopendate = reportdate.Split('~')[0].ToString(); |
| | | reportclosedate = reportdate.Split('~')[1].ToString(); |
| | | } |
| | | mes = ReportManagerBLL.DefectDetailsReportExcelSearch(wkshopcode,wocode, partcode, partname, partspec, stepname, defectcode, defectname, reportname, reportopendate, reportclosedate); |
| | | mes = ReportManagerBLL.DefectDetailsReportExcelSearch(wkshopcode,wocode, saleordercode, partcode, partname, partspec, stepname, defectcode, defectname, reportname, reportopendate, reportclosedate); |
| | | return TJson.toJson(mes); |
| | | } |
| | | #endregion |
| | |
| | | /// </summary> |
| | | /// <param name="wkshopcode">车é´ç¼å·</param> |
| | | /// <param name="wocode">å·¥åç¼å·</param> |
| | | /// <param name="saleordercode">éå®è®¢åå·</param> |
| | | /// <param name="partcode">产åç¼ç </param> |
| | | /// <param name="partname">产ååç§°</param> |
| | | /// <param name="partspec">è§æ ¼åå·</param> |
| | |
| | | /// <returns></returns> |
| | | [Route(template: "MaintenanceDetailsReportSearch")] |
| | | [HttpGet] |
| | | public HttpResponseMessage MaintenanceDetailsReportSearch(int page, int rows, string prop, string order,string wkshopcode=null, string wocode = null, string partcode = null, string partname = null, string partspec = null, string stepname = null, string style = null, string defectname = null, string repairname = null, string repairdate = null) |
| | | public HttpResponseMessage MaintenanceDetailsReportSearch(int page, int rows, string prop, string order,string wkshopcode=null, string wocode = null,string saleordercode=null, string partcode = null, string partname = null, string partspec = null, string stepname = null, string style = null, string defectname = null, string repairname = null, string repairdate = null) |
| | | { |
| | | string repairopendate = ""; //ç»´ä¿®å¼å§æ¶é´ |
| | | string repairclosedate = ""; //ç»´ä¿®ç»ææ¶é´ |
| | |
| | | } |
| | | int startNum = rows * (page - 1) + 1; //èµ·å§è®°å½rowNum |
| | | int endNum = rows * page; //ç»æè®°å½ rowNum |
| | | mes = ReportManagerBLL.MaintenanceDetailsReportSearch(wkshopcode,wocode, partcode, partname, partspec, stepname, style, defectname, repairname, repairopendate, repairclosedate, startNum, endNum, prop, order); |
| | | mes = ReportManagerBLL.MaintenanceDetailsReportSearch(wkshopcode,wocode, saleordercode, partcode, partname, partspec, stepname, style, defectname, repairname, repairopendate, repairclosedate, startNum, endNum, prop, order); |
| | | return TJson.toJson(mes); |
| | | } |
| | | #endregion |
| | |
| | | /// </summary> |
| | | /// <param name="wkshopcode">车é´ç¼å·</param> |
| | | /// <param name="wocode">å·¥åç¼å·</param> |
| | | /// <param name="saleordercode">éå®è®¢åå·</param> |
| | | /// <param name="partcode">产åç¼ç </param> |
| | | /// <param name="partname">产ååç§°</param> |
| | | /// <param name="partspec">è§æ ¼åå·</param> |
| | |
| | | /// <returns></returns> |
| | | [Route(template: "MaintenanceDetailsReportExcelSearch")] |
| | | [HttpGet] |
| | | public HttpResponseMessage MaintenanceDetailsReportExcelSearch(string wkshopcode = null, string wocode = null, string partcode = null, string partname = null, string partspec = null, string stepname = null, string style = null, string defectname = null, string repairname = null, string repairdate = null) |
| | | public HttpResponseMessage MaintenanceDetailsReportExcelSearch(string wkshopcode = null, string wocode = null,string saleordercode=null, string partcode = null, string partname = null, string partspec = null, string stepname = null, string style = null, string defectname = null, string repairname = null, string repairdate = null) |
| | | { |
| | | string repairopendate = ""; //ç»´ä¿®å¼å§æ¶é´ |
| | | string repairclosedate = ""; //ç»´ä¿®ç»ææ¶é´ |
| | |
| | | repairopendate = repairdate.Split('~')[0].ToString(); |
| | | repairclosedate = repairdate.Split('~')[1].ToString(); |
| | | } |
| | | mes = ReportManagerBLL.MaintenanceDetailsReportExcelSearch(wkshopcode,wocode, partcode, partname, partspec, stepname, style, defectname, repairname, repairopendate, repairclosedate); |
| | | mes = ReportManagerBLL.MaintenanceDetailsReportExcelSearch(wkshopcode,wocode, saleordercode, partcode, partname, partspec, stepname, style, defectname, repairname, repairopendate, repairclosedate); |
| | | return TJson.toJson(mes); |
| | | } |
| | | #endregion |
| | |
| | | /// <param name="wkshopcode">车é´ç¼ç </param> |
| | | /// <param name="status">å·¥åç¶æ</param> |
| | | /// <param name="wocode">å·¥åç¼å·</param> |
| | | /// <param name="saleordercode">éå®è®¢åå·</param> |
| | | /// <param name="routecode">å·¥èºè·¯çº¿ç¼ç </param> |
| | | /// <param name="routename">å·¥èºè·¯çº¿åç§°</param> |
| | | /// <param name="partcode">产åç¼ç </param> |
| | |
| | | /// <returns></returns> |
| | | [Route(template: "ProductionScheduleReportSearch")] |
| | | [HttpGet] |
| | | public HttpResponseMessage ProductionScheduleReportSearch(int page, int rows, string prop, string order, string wkshopcode=null, string status=null, string wocode = null, string routecode = null, string routename = null, string partcode = null, string partname = null, string partspec = null,string lm_date=null) |
| | | public HttpResponseMessage ProductionScheduleReportSearch(int page, int rows, string prop, string order, string wkshopcode=null, string status=null, string wocode = null,string saleordercode=null, string routecode = null, string routename = null, string partcode = null, string partname = null, string partspec = null,string lm_date=null) |
| | | { |
| | | string opendate = ""; //å¼å§æ¶é´ |
| | | string closedate = ""; //ç»ææ¶é´ |
| | |
| | | } |
| | | int startNum = rows * (page - 1) + 1; //èµ·å§è®°å½rowNum |
| | | int endNum = rows * page; //ç»æè®°å½ rowNum |
| | | mes = ReportManagerBLL.ProductionScheduleReportSearch(wkshopcode,status, wocode, routecode, routename, partcode, partname, partspec, opendate, closedate, startNum, endNum, prop, order); |
| | | mes = ReportManagerBLL.ProductionScheduleReportSearch(wkshopcode,status, wocode, saleordercode, routecode, routename, partcode, partname, partspec, opendate, closedate, startNum, endNum, prop, order); |
| | | return TJson.toJson(mes); |
| | | } |
| | | #endregion |
| | |
| | | /// <param name="wkshopcode">车é´ç¼ç </param> |
| | | /// <param name="status">å·¥åç¶æ</param> |
| | | /// <param name="wocode">å·¥åç¼å·</param> |
| | | /// <param name="saleordercode">éå®è®¢åå·</param> |
| | | /// <param name="routecode">å·¥èºè·¯çº¿ç¼ç </param> |
| | | /// <param name="routename">å·¥èºè·¯çº¿åç§°</param> |
| | | /// <param name="partcode">产åç¼ç </param> |
| | |
| | | /// <returns></returns> |
| | | [Route(template: "ProductionScheduleReportExcelSearch")] |
| | | [HttpGet] |
| | | public HttpResponseMessage ProductionScheduleReportExcelSearch(string wkshopcode=null, string status = null, string wocode = null, string routecode = null, string routename = null, string partcode = null, string partname = null, string partspec = null, string lm_date = null) |
| | | public HttpResponseMessage ProductionScheduleReportExcelSearch(string wkshopcode=null, string status = null, string wocode = null,string saleordercode=null, string routecode = null, string routename = null, string partcode = null, string partname = null, string partspec = null, string lm_date = null) |
| | | { |
| | | string opendate = ""; //å¼å§æ¶é´ |
| | | string closedate = ""; //ç»ææ¶é´ |
| | |
| | | opendate = lm_date.Split('~')[0].ToString(); |
| | | closedate = lm_date.Split('~')[1].ToString(); |
| | | } |
| | | mes = ReportManagerBLL.ProductionScheduleReportExcelSearch(wkshopcode,status, wocode, routecode, routename, partcode, partname, partspec, opendate, closedate); |
| | | mes = ReportManagerBLL.ProductionScheduleReportExcelSearch(wkshopcode,status, wocode, saleordercode, routecode, routename, partcode, partname, partspec, opendate, closedate); |
| | | return TJson.toJson(mes); |
| | | } |
| | | #endregion |
| | |
| | | |
| | | |
| | | #region[MES工忹éå
³éæ¥è¯¢] |
| | | public static ToMessage MesOrderBitchClosedSearch(string stu_torgcode,string stu_torgtypecode, string mesorderstus, string mesordercode, string sourceorder, string ordertype, string partcode, string partname, string partspec, int startNum, string creatuser, string createdate, int endNum, string prop, string order) |
| | | public static ToMessage MesOrderBitchClosedSearch(string stu_torgcode,string stu_torgtypecode, string mesorderstus, string mesordercode, string sourceorder,string saleordercode, string ordertype, string partcode, string partname, string partspec, int startNum, string creatuser, string createdate, int endNum, string prop, string order) |
| | | { |
| | | return ProductionManagementDAL.MesOrderBitchClosedSearch(stu_torgcode, stu_torgtypecode,mesorderstus, mesordercode, sourceorder, ordertype, partcode, partname, partspec, startNum, creatuser, createdate, endNum, prop, order); |
| | | return ProductionManagementDAL.MesOrderBitchClosedSearch(stu_torgcode, stu_torgtypecode,mesorderstus, mesordercode, sourceorder, saleordercode, ordertype, partcode, partname, partspec, startNum, creatuser, createdate, endNum, prop, order); |
| | | } |
| | | #endregion |
| | | |
| | |
| | | public class ReportManagerBLL |
| | | { |
| | | #region[å§å¤æ¥è¡¨è®°å½æ¥è¯¢] |
| | | public static ToMessage OutSourceReportSearch(string wkshopcode, string wocode, string partcode, string partname, string partspec, string stepname, string suppername, string type, string receivopendate, string receivclosedate, int startNum, int endNum, string prop, string order) |
| | | public static ToMessage OutSourceReportSearch(string wkshopcode, string wocode,string saleordercode, string partcode, string partname, string partspec, string stepname, string suppername, string type, string receivopendate, string receivclosedate, int startNum, int endNum, string prop, string order) |
| | | { |
| | | return ReportManagerDAL.OutSourceReportSearch(wkshopcode,wocode, partcode, partname, partspec, stepname, suppername, type, receivopendate, receivclosedate, startNum, endNum, prop, order); |
| | | return ReportManagerDAL.OutSourceReportSearch(wkshopcode,wocode, saleordercode, partcode, partname, partspec, stepname, suppername, type, receivopendate, receivclosedate, startNum, endNum, prop, order); |
| | | } |
| | | #endregion |
| | | |
| | | #region[å§å¤æ¥è¡¨è®°å½å¯¼åº] |
| | | public static ToMessage OutSourceReportExcelSearch(string wkshopcode, string wocode, string partcode, string partname, string partspec, string stepname, string suppername, string type, string receivopendate, string receivclosedate) |
| | | public static ToMessage OutSourceReportExcelSearch(string wkshopcode, string wocode,string saleordercode, string partcode, string partname, string partspec, string stepname, string suppername, string type, string receivopendate, string receivclosedate) |
| | | { |
| | | return ReportManagerDAL.OutSourceReportExcelSearch(wkshopcode,wocode, partcode, partname, partspec, stepname, suppername, type, receivopendate, receivclosedate); |
| | | return ReportManagerDAL.OutSourceReportExcelSearch(wkshopcode,wocode, saleordercode, partcode, partname, partspec, stepname, suppername, type, receivopendate, receivclosedate); |
| | | } |
| | | #endregion |
| | | |
| | | |
| | | #region[çç»å·¥èµæ¥è¡¨è®°å½æ¥è¯¢] |
| | | public static ToMessage GroupSalaryReportSearch(string wkshopcode, string compute, string wocode, string partcode, string partname, string partspec, string stepname, string groupcode, string username, string operopendate, string operclosedate,string rejectstepcode, int startNum, int endNum, string prop, string order) |
| | | public static ToMessage GroupSalaryReportSearch(string wkshopcode, string compute, string wocode,string saleordercode, string partcode, string partname, string partspec, string stepname, string groupcode, string username, string operopendate, string operclosedate,string rejectstepcode, int startNum, int endNum, string prop, string order) |
| | | { |
| | | return ReportManagerDAL.GroupSalaryReportSearch(wkshopcode,compute, wocode, partcode, partname, partspec, stepname, groupcode, username, operopendate, operclosedate, rejectstepcode, startNum, endNum, prop, order); |
| | | return ReportManagerDAL.GroupSalaryReportSearch(wkshopcode,compute, wocode, saleordercode, partcode, partname, partspec, stepname, groupcode, username, operopendate, operclosedate, rejectstepcode, startNum, endNum, prop, order); |
| | | } |
| | | #endregion |
| | | |
| | |
| | | #endregion |
| | | |
| | | #region[çç»å·¥èµæ¥è¡¨è®°å½å¯¼åº] |
| | | public static ToMessage GroupSalaryReportExcelSearch(string wkshopcode, string compute, string wocode, string partcode, string partname, string partspec, string stepname, string groupcode, string username, string operopendate, string operclosedate,string rejectstepcode) |
| | | public static ToMessage GroupSalaryReportExcelSearch(string wkshopcode, string compute, string wocode,string saleordercode, string partcode, string partname, string partspec, string stepname, string groupcode, string username, string operopendate, string operclosedate,string rejectstepcode) |
| | | { |
| | | return ReportManagerDAL.GroupSalaryReportExcelSearch(wkshopcode,compute, wocode, partcode, partname, partspec, stepname, groupcode, username, operopendate, operclosedate, rejectstepcode); |
| | | return ReportManagerDAL.GroupSalaryReportExcelSearch(wkshopcode,compute, wocode, saleordercode, partcode, partname, partspec, stepname, groupcode, username, operopendate, operclosedate, rejectstepcode); |
| | | } |
| | | #endregion |
| | | |
| | | |
| | | #region[人åå·¥èµæç»æ¥è¡¨] |
| | | public static ToMessage PeopleSalaryReportSearch(string wkshopcode, string compute, string wocode, string partcode, string partname, string partspec, string stepname, string groupcode, string reportname, string reportopendate, string reportclosedate,string rejectstepcode, int startNum, int endNum, string prop, string order) |
| | | public static ToMessage PeopleSalaryReportSearch(string wkshopcode, string compute, string wocode,string saleordercode, string partcode, string partname, string partspec, string stepname, string groupcode, string reportname, string reportopendate, string reportclosedate,string rejectstepcode, int startNum, int endNum, string prop, string order) |
| | | { |
| | | return ReportManagerDAL.PeopleSalaryReportSearch(wkshopcode,compute, wocode, partcode, partname, partspec, stepname, groupcode, reportname, reportopendate, reportclosedate, rejectstepcode, startNum, endNum, prop, order); |
| | | return ReportManagerDAL.PeopleSalaryReportSearch(wkshopcode,compute, wocode, saleordercode, partcode, partname, partspec, stepname, groupcode, reportname, reportopendate, reportclosedate, rejectstepcode, startNum, endNum, prop, order); |
| | | } |
| | | #endregion |
| | | |
| | | #region[人åå·¥èµæç»æ¥è¡¨å¯¼åº] |
| | | public static ToMessage PeopleSalaryReportExcelSearch(string wkshopcode, string compute, string wocode, string partcode, string partname, string partspec, string stepname, string groupcode, string reportname, string reportopendate, string reportclosedate,string rejectstepcode) |
| | | public static ToMessage PeopleSalaryReportExcelSearch(string wkshopcode, string compute, string wocode,string saleordercode, string partcode, string partname, string partspec, string stepname, string groupcode, string reportname, string reportopendate, string reportclosedate,string rejectstepcode) |
| | | { |
| | | return ReportManagerDAL.PeopleSalaryReportExcelSearch(wkshopcode,compute, wocode, partcode, partname, partspec, stepname, groupcode, reportname, reportopendate, reportclosedate, rejectstepcode); |
| | | return ReportManagerDAL.PeopleSalaryReportExcelSearch(wkshopcode,compute, wocode, saleordercode, partcode, partname, partspec, stepname, groupcode, reportname, reportopendate, reportclosedate, rejectstepcode); |
| | | } |
| | | #endregion |
| | | |
| | | |
| | | #region[ä¸è¯æç»æ¥è¡¨] |
| | | public static ToMessage DefectDetailsReportSearch(string wkshopcode, string wocode, string partcode, string partname, string partspec, string stepname, string defectcode, string defectname, string reportname, string reportopendate, string reportclosedate, int startNum, int endNum, string prop, string order) |
| | | public static ToMessage DefectDetailsReportSearch(string wkshopcode, string wocode,string saleordercode, string partcode, string partname, string partspec, string stepname, string defectcode, string defectname, string reportname, string reportopendate, string reportclosedate, int startNum, int endNum, string prop, string order) |
| | | { |
| | | return ReportManagerDAL.DefectDetailsReportSearch(wkshopcode,wocode, partcode, partname, partspec, stepname, defectcode, defectname, reportname, reportopendate, reportclosedate, startNum, endNum, prop, order); |
| | | return ReportManagerDAL.DefectDetailsReportSearch(wkshopcode,wocode, saleordercode, partcode, partname, partspec, stepname, defectcode, defectname, reportname, reportopendate, reportclosedate, startNum, endNum, prop, order); |
| | | } |
| | | #endregion |
| | | |
| | | #region[ä¸è¯æç»æ¥è¡¨å¯¼åº] |
| | | public static ToMessage DefectDetailsReportExcelSearch(string wkshopcode, string wocode, string partcode, string partname, string partspec, string stepname, string defectcode, string defectname, string reportname, string reportopendate, string reportclosedate) |
| | | public static ToMessage DefectDetailsReportExcelSearch(string wkshopcode, string wocode,string saleordercode, string partcode, string partname, string partspec, string stepname, string defectcode, string defectname, string reportname, string reportopendate, string reportclosedate) |
| | | { |
| | | return ReportManagerDAL.DefectDetailsReportExcelSearch(wkshopcode,wocode, partcode, partname, partspec, stepname, defectcode, defectname, reportname, reportopendate, reportclosedate); |
| | | return ReportManagerDAL.DefectDetailsReportExcelSearch(wkshopcode,wocode,saleordercode, partcode, partname, partspec, stepname, defectcode, defectname, reportname, reportopendate, reportclosedate); |
| | | } |
| | | #endregion |
| | | |
| | |
| | | |
| | | |
| | | #region[ç»´ä¿®æç»æ¥è¡¨] |
| | | public static ToMessage MaintenanceDetailsReportSearch(string wkshopcode,string wocode, string partcode, string partname, string partspec, string stepname, string style, string defectname, string repairname, string repairopendate, string repairclosedate, int startNum, int endNum, string prop, string order) |
| | | public static ToMessage MaintenanceDetailsReportSearch(string wkshopcode,string wocode,string saleordercode, string partcode, string partname, string partspec, string stepname, string style, string defectname, string repairname, string repairopendate, string repairclosedate, int startNum, int endNum, string prop, string order) |
| | | { |
| | | return ReportManagerDAL.MaintenanceDetailsReportSearch(wkshopcode,wocode, partcode, partname, partspec, stepname, style, defectname, repairname, repairopendate, repairclosedate, startNum, endNum, prop, order); |
| | | return ReportManagerDAL.MaintenanceDetailsReportSearch(wkshopcode,wocode, saleordercode, partcode, partname, partspec, stepname, style, defectname, repairname, repairopendate, repairclosedate, startNum, endNum, prop, order); |
| | | } |
| | | #endregion |
| | | |
| | | #region[ç»´ä¿®æç»æ¥è¡¨å¯¼åº] |
| | | public static ToMessage MaintenanceDetailsReportExcelSearch(string wkshopcode, string wocode, string partcode, string partname, string partspec, string stepname, string style, string defectname, string repairname, string repairopendate, string repairclosedate) |
| | | public static ToMessage MaintenanceDetailsReportExcelSearch(string wkshopcode, string wocode,string saleordercode, string partcode, string partname, string partspec, string stepname, string style, string defectname, string repairname, string repairopendate, string repairclosedate) |
| | | { |
| | | return ReportManagerDAL.MaintenanceDetailsReportExcelSearch(wkshopcode,wocode, partcode, partname, partspec, stepname, style, defectname, repairname, repairopendate, repairclosedate); |
| | | return ReportManagerDAL.MaintenanceDetailsReportExcelSearch(wkshopcode,wocode, saleordercode, partcode, partname, partspec, stepname, style, defectname, repairname, repairopendate, repairclosedate); |
| | | } |
| | | #endregion |
| | | |
| | |
| | | |
| | | |
| | | #region[ç产è¿åº¦æ¥è¡¨] |
| | | public static ToMessage ProductionScheduleReportSearch(string wkshopcode, string status, string wocode, string routecode, string routename, string partcode, string partname, string partspec,string opendate,string closedate, int startNum, int endNum, string prop, string order) |
| | | public static ToMessage ProductionScheduleReportSearch(string wkshopcode, string status, string wocode,string saleordercode, string routecode, string routename, string partcode, string partname, string partspec,string opendate,string closedate, int startNum, int endNum, string prop, string order) |
| | | { |
| | | return ReportManagerDAL.ProductionScheduleReportSearch(wkshopcode,status, wocode, routecode, routename, partcode, partname, partspec, opendate, closedate, startNum, endNum, prop, order); |
| | | return ReportManagerDAL.ProductionScheduleReportSearch(wkshopcode,status, wocode, saleordercode, routecode, routename, partcode, partname, partspec, opendate, closedate, startNum, endNum, prop, order); |
| | | } |
| | | #endregion |
| | | |
| | | #region[ç产è¿åº¦æ¥è¡¨å¯¼åº] |
| | | public static ToMessage ProductionScheduleReportExcelSearch(string wkshopcode, string status, string wocode, string routecode, string routename, string partcode, string partname, string partspec,string opendate,string closedate) |
| | | public static ToMessage ProductionScheduleReportExcelSearch(string wkshopcode, string status, string wocode,string saleordercode, string routecode, string routename, string partcode, string partname, string partspec,string opendate,string closedate) |
| | | { |
| | | return ReportManagerDAL.ProductionScheduleReportExcelSearch(wkshopcode,status, wocode, routecode, routename, partcode, partname, partspec,opendate, closedate); |
| | | return ReportManagerDAL.ProductionScheduleReportExcelSearch(wkshopcode,status, wocode, saleordercode, routecode, routename, partcode, partname, partspec,opendate, closedate); |
| | | } |
| | | #endregion |
| | | } |
| | |
| | | } |
| | | //æ ¹æ®æ¡ä»¶æ¥è¯¢å·¥åå·¥åºä»»å¡(èªå¶å·¥åº) |
| | | sql = @"select A.status,A.wo_code,B.route_code,M.partcode,M.partname,M.partspec,A.seq,A.isbott,A.isend, |
| | | S.stepcode,S.stepname,S.descr,A.plan_qty,A.good_qty,A.ng_qty,A.bad_qty,A.plan_startdate,A.plan_enddate,B.lm_date |
| | | S.stepcode,S.stepname,S.descr,A.plan_qty,A.good_qty,A.ng_qty,A.bad_qty,A.plan_startdate,A.plan_enddate,B.lm_date, |
| | | B.m_po,W.saleOrderCode |
| | | from TK_Wrk_Step A |
| | | left join TK_Wrk_Man B on A.wo_code=B.wo_code |
| | | left join TKimp_Ewo W on B.m_po=W.wo and B.materiel_code=W.materiel_code |
| | | left join TMateriel_Info M on B.materiel_code=M.partcode |
| | | left join TStep S on A.step_code=S.stepcode |
| | | left join TOrganization F on B.wkshp_code=F.org_code |
| | |
| | | } |
| | | //æ ¹æ®æ¡ä»¶æ¥è¯¢å·¥åå·¥åºä»»å¡(å¤åå·¥åº) |
| | | sql = @"select A.status,A.wo_code,B.route_code,M.partcode,M.partname,M.partspec,A.seq,A.isbott,A.isend, |
| | | S.stepcode,S.stepname,S.descr,A.plan_qty,A.good_qty,A.ng_qty,A.bad_qty,A.plan_startdate,A.plan_enddate,B.lm_date |
| | | S.stepcode,S.stepname,S.descr,A.plan_qty,A.good_qty,A.ng_qty,A.bad_qty,A.plan_startdate,A.plan_enddate,B.lm_date, |
| | | B.m_po,W.saleOrderCode |
| | | from TK_Wrk_Step A |
| | | left join TK_Wrk_Man B on A.wo_code=B.wo_code |
| | | left join TKimp_Ewo W on B.m_po=W.wo and B.materiel_code=W.materiel_code |
| | | left join TMateriel_Info M on B.materiel_code=M.partcode |
| | | left join TStep S on A.step_code=S.stepcode |
| | | left join TOrganization F on B.wkshp_code=F.org_code |
| | |
| | | } |
| | | //æ ¹æ®æ¡ä»¶æ¥è¯¢å·¥åå·¥åºä»»å¡,ä¸ä¸è¯æ°é大äº0 |
| | | sql = @"select A.wo_code,M.partcode,M.partname,M.partspec,A.seq,A.isend, |
| | | S.stepcode,S.stepname,S.descr,A.plan_qty,A.good_qty,A.ng_qty,A.bad_qty,B.lm_date |
| | | S.stepcode,S.stepname,S.descr,A.plan_qty,A.good_qty,A.ng_qty,A.bad_qty,B.lm_date, |
| | | B.m_po,W.saleOrderCode |
| | | from TK_Wrk_Step A |
| | | left join TK_Wrk_Man B on A.wo_code=B.wo_code |
| | | left join TKimp_Ewo W on B.m_po=W.wo and B.materiel_code=W.materiel_code |
| | | left join TMateriel_Info M on B.materiel_code=M.partcode |
| | | left join TStep S on A.step_code=S.stepcode |
| | | left join TOrganization F on B.wkshp_code=F.org_code |
| | |
| | | } |
| | | } |
| | | //1.æ ¹æ®å·¥å+å·¥åºæ¥æ¾å½åå·¥åºæ¯å¦é¦éå·¥åº |
| | | sql = @"select A.wo_code,P.partcode,P.partname,P.partspec, T.stepcode,T.stepname,A.seq,T.flwtype,T.descr,A.status,A.plan_qty,A.good_qty,A.ng_qty,A.bad_qty,A.isbott,A.isend |
| | | sql = @"select A.wo_code,P.partcode,P.partname,P.partspec, T.stepcode,T.stepname,A.seq,T.flwtype,T.descr,A.status,A.plan_qty,A.good_qty,A.ng_qty,A.bad_qty,A.isbott,A.isend, |
| | | M.m_po,W.saleOrderCode |
| | | from TK_Wrk_Step A |
| | | left join TStep T on A.step_code=T.stepcode |
| | | left join TK_Wrk_Man M on A.wo_code=M.wo_code |
| | | left join TKimp_Ewo W on M.m_po=W.wo and M.materiel_code=W.materiel_code |
| | | left join TMateriel_Info P on M.materiel_code=P.partcode |
| | | where A.wo_code=@ordercode and A.step_code=@stepcode"; |
| | | dynamicParams.Add("@ordercode", ordercode); |
| | |
| | | if (data.Rows.Count > 0) |
| | | { |
| | | rt.wo_code = data.Rows[0]["WO_CODE"].ToString(); //å·¥åå· |
| | | rt.saleOrderCode = data.Rows[0]["saleOrderCode"].ToString(); //éå®è®¢åå· |
| | | rt.m_po = data.Rows[0]["m_po"].ToString(); //订åå· |
| | | rt.partnumber = data.Rows[0]["PARTCODE"].ToString(); //产åç¼ç |
| | | rt.partname = data.Rows[0]["PARTNAME"].ToString(); //产ååç§° |
| | | rt.partspec = data.Rows[0]["PARTSPEC"].ToString(); //产åè§æ ¼ |
| | |
| | | |
| | | |
| | | #region[MES工忹éå
³éæ¥è¯¢] |
| | | public static ToMessage MesOrderBitchClosedSearch(string stu_torgcode, string stu_torgtypecode, string mesorderstus, string mesordercode, string sourceorder, string ordertype, string partcode, string partname, string partspec, int startNum, string creatuser, string createdate, int endNum, string prop, string order) |
| | | public static ToMessage MesOrderBitchClosedSearch(string stu_torgcode, string stu_torgtypecode, string mesorderstus, string mesordercode, string sourceorder,string saleordercode, string ordertype, string partcode, string partname, string partspec, int startNum, string creatuser, string createdate, int endNum, string prop, string order) |
| | | { |
| | | var dynamicParams = new DynamicParameters(); |
| | | string search = ""; |
| | |
| | | { |
| | | search += "and A.m_po like '%'+@sourceorder+'%' "; |
| | | dynamicParams.Add("@sourceorder", sourceorder); |
| | | } |
| | | if (saleordercode != "" && saleordercode != null) |
| | | { |
| | | search += "and W.saleOrderCode like '%'+@saleordercode+'%' "; |
| | | dynamicParams.Add("@saleordercode", saleordercode); |
| | | } |
| | | if (ordertype != "" && ordertype != null) |
| | | { |
| | |
| | | // --------------æ¥è¯¢æå®æ°æ®-------------- |
| | | var total = 0; //æ»æ¡æ° |
| | | var sql = @"select A.id, A.status,A.wotype,A.wo_code,A.materiel_code as partcode,B.partname,B.partspec,A.plan_qty,A.wkshp_code,C.org_name as wkshp_name, |
| | | A.route_code,E.name as route_name,A.stck_code,F.name as stck_name,A.plan_startdate,A.plan_enddate,A.piroque,A.sourceid,A.m_po,U.username as lm_user,A.lm_date |
| | | A.route_code,E.name as route_name,A.stck_code,F.name as stck_name,A.plan_startdate,A.plan_enddate,A.piroque,A.sourceid,A.m_po,W.saleOrderCode,U.username as lm_user,A.lm_date |
| | | ,(select sum(S.good_qty) from TK_Wrk_Step S where S.wo_code=A.wo_code and S.isend='Y') as good_qty |
| | | ,(select sum(S.ng_qty) from TK_Wrk_Step S where S.wo_code=A.wo_code and S.isend='Y') as ng_qty |
| | | ,(select sum(S.bad_qty) from TK_Wrk_Step S where S.wo_code=A.wo_code and S.isend='Y') as bad_qty |
| | | from TK_Wrk_Man A |
| | | left join TKimp_Ewo W on A.m_po=W.wo and A.materiel_code=W.materiel_code |
| | | left join TMateriel_Info B on A.materiel_code=B.partcode |
| | | left join TOrganization C on A.wkshp_code=C.org_code |
| | | left join T_Sec_Stck D on A.stck_code=D.code |
| | |
| | | |
| | | |
| | | #region[å§å¤æ¥è¡¨è®°å½æ¥è¯¢] |
| | | public static ToMessage OutSourceReportSearch(string wkshopcode, string wocode, string partcode, string partname, string partspec, string stepname, string suppername, string type, string receivopendate, string receivclosedate, int startNum, int endNum, string prop, string order) |
| | | public static ToMessage OutSourceReportSearch(string wkshopcode, string wocode,string saleordercode, string partcode, string partname, string partspec, string stepname, string suppername, string type, string receivopendate, string receivclosedate, int startNum, int endNum, string prop, string order) |
| | | { |
| | | var dynamicParams = new DynamicParameters(); |
| | | string search = ""; |
| | |
| | | { |
| | | search += "and A.wo_code like '%'+@wocode+'%' "; |
| | | dynamicParams.Add("@wocode", wocode); |
| | | } |
| | | if (saleordercode != "" && saleordercode != null) |
| | | { |
| | | search += "and E.saleOrderCode like '%'+@saleordercode+'%' "; |
| | | dynamicParams.Add("@saleordercode", saleordercode); |
| | | } |
| | | if (partcode != "" && partcode != null) |
| | | { |
| | |
| | | // --------------æ¥è¯¢æå®æ°æ®-------------- |
| | | var total = 0; //æ»æ¡æ° |
| | | var sql = @"select W.wkshp_code,F.org_name as wkshp_name,A.wo_code,M.partcode,M.partname,M.partspec,S.stepcode,S.stepname,C.code,C.name,(case when A.style='F' then 'åæ' when A.style='S' then 'æ¶æ' end) as style, |
| | | A.fqty,A.sqty,A.ng_qty,A.bad_qty,U.username as out_person,B.out_time,T.username as in_person,B.in_time |
| | | A.fqty,A.sqty,A.ng_qty,A.bad_qty,U.username as out_person,B.out_time,T.username as in_person,B.in_time,W.m_po,E.saleOrderCode |
| | | from TK_Wrk_OutRecord A |
| | | inner join TK_Wrk_OutRecordSub B on A.id=B.m_id |
| | | left join TMateriel_Info M on A.materiel_code=M.partcode |
| | |
| | | left join TUser U on B.out_person=U.usercode |
| | | left join TUser T on B.in_person=T.usercode |
| | | left join TK_Wrk_Man W on A.wo_code=W.wo_code |
| | | left join TKimp_Ewo E on W.m_po=E.wo and W.materiel_code=E.materiel_code |
| | | left join TOrganization F on W.wkshp_code=F.org_code |
| | | where " + search; |
| | | var data = DapperHelper.GetPageList<object>(sql, dynamicParams, prop, order, startNum, endNum, out total); |
| | |
| | | #endregion |
| | | |
| | | #region[å§å¤æ¥è¡¨è®°å½å¯¼åº] |
| | | public static ToMessage OutSourceReportExcelSearch(string wkshopcode, string wocode, string partcode, string partname, string partspec, string stepname, string suppername, string type, string receivopendate, string receivclosedate) |
| | | public static ToMessage OutSourceReportExcelSearch(string wkshopcode, string wocode,string saleordercode, string partcode, string partname, string partspec, string stepname, string suppername, string type, string receivopendate, string receivclosedate) |
| | | { |
| | | var dynamicParams = new DynamicParameters(); |
| | | string search = ""; |
| | |
| | | { |
| | | if (wkshopcode != "" && wkshopcode != null) |
| | | { |
| | | search += "and K.wkshp_code=@wkshopcode "; |
| | | search += "and W.wkshp_code=@wkshopcode "; |
| | | dynamicParams.Add("@wkshopcode", wkshopcode); |
| | | } |
| | | if (wocode != "" && wocode != null) |
| | | { |
| | | search += "and A.wo_code like '%'+@wocode+'%' "; |
| | | dynamicParams.Add("@wocode", wocode); |
| | | } |
| | | if (saleordercode != "" && saleordercode != null) |
| | | { |
| | | search += "and E.saleOrderCode like '%'+@saleordercode+'%' "; |
| | | dynamicParams.Add("@saleordercode", saleordercode); |
| | | } |
| | | if (partcode != "" && partcode != null) |
| | | { |
| | |
| | | search = search.Substring(3);//æªåç´¢å¼2åé¢çå符 |
| | | // --------------æ¥è¯¢æå®æ°æ®-------------- |
| | | var total = 0; //æ»æ¡æ° |
| | | var sql = @"select W.wkshp_code as 车é´ç¼ç ,F.org_name as 车é´åç§°,A.wo_code as 'å·¥åç¼å·',M.partcode as '产åç¼ç ',M.partname as '产ååç§°',M.partspec as '产åè§æ ¼',S.stepcode as 'å·¥åºç¼ç ',S.stepname as 'å·¥åºåç§°', |
| | | var sql = @"select W.wkshp_code as 车é´ç¼ç ,F.org_name as 车é´åç§°,E.saleOrderCode as éå®è®¢åå·,W.m_po as 订åå·,A.wo_code as 'å·¥åç¼å·',M.partcode as '产åç¼ç ',M.partname as '产ååç§°',M.partspec as '产åè§æ ¼',S.stepcode as 'å·¥åºç¼ç ',S.stepname as 'å·¥åºåç§°', |
| | | C.code as 'å¤å便¹ç¼ç ',C.name as 'å¤å便¹åç§°',(case when A.style='F' then 'åæ' when A.style='S' then 'æ¶æ' end) as 'æä½ç±»å', |
| | | A.fqty as 'åææ°é',A.sqty as 'æ¶ææ°é',A.ng_qty as 'ä¸è¯æ°é',A.bad_qty as 'æ¥åºæ°é',U.username as 'åæäººå',B.out_time as 'åææ¶é´', |
| | | T.username as 'æ¶æäººå',B.in_time as 'æ¶ææ¶é´' |
| | |
| | | left join TUser U on B.out_person=U.usercode |
| | | left join TUser T on B.in_person=T.usercode |
| | | left join TK_Wrk_Man W on A.wo_code=W.wo_code |
| | | left join TKimp_Ewo E on W.m_po=E.wo and W.materiel_code=E.materiel_code |
| | | left join TOrganization F on W.wkshp_code=F.org_code |
| | | where " + search; |
| | | DataTable data = DapperHelper.selectdata(sql, dynamicParams); |
| | |
| | | |
| | | |
| | | #region[çç»å·¥èµæ¥è¡¨è®°å½æ¥è¯¢] |
| | | public static ToMessage GroupSalaryReportSearch(string wkshopcode, string compute, string wocode, string partcode, string partname, string partspec, string stepname, string groupcode, string username, string operopendate, string operclosedate, string rejectstepcode, int startNum, int endNum, string prop, string order) |
| | | public static ToMessage GroupSalaryReportSearch(string wkshopcode, string compute, string wocode,string saleordercode, string partcode, string partname, string partspec, string stepname, string groupcode, string username, string operopendate, string operclosedate, string rejectstepcode, int startNum, int endNum, string prop, string order) |
| | | { |
| | | var dynamicParams = new DynamicParameters(); |
| | | string search = ""; |
| | |
| | | { |
| | | search += "and A.wo_code like '%'+@wocode+'%' "; |
| | | dynamicParams.Add("@wocode", wocode); |
| | | } |
| | | if (saleordercode != "" && saleordercode != null) |
| | | { |
| | | search += "and E.saleOrderCode like '%'+@saleordercode+'%' "; |
| | | dynamicParams.Add("@saleordercode", saleordercode); |
| | | } |
| | | if (partcode != "" && partcode != null) |
| | | { |
| | |
| | | //search = search.Substring(3);//æªåç´¢å¼2åé¢çå符 |
| | | // --------------æ¥è¯¢æå®æ°æ®-------------- |
| | | var total = 0; //æ»æ¡æ° |
| | | var sql = @"select distinct A.id,K.wkshp_code,F.org_name as wkshp_name,A.wo_code,M.partcode,M.partname,M.partspec,T.stepcode,T.stepname,A.task_qty,G.group_code,G.group_name,A.good_qty, |
| | | var sql = @"select distinct A.id,K.wkshp_code,F.org_name as wkshp_name,E.saleOrderCode,K.m_po,A.wo_code,M.partcode,M.partname,M.partspec,T.stepcode,T.stepname,A.task_qty,G.group_code,G.group_name,A.good_qty, |
| | | isnull(S.unprice,0) as unprice,A.good_qty*isnull(S.unprice,0) as usermoney,U.username as lm_user,A.lm_date,B.report_date |
| | | from TK_Wrk_Record A |
| | | inner join TK_Wrk_RecordSub B on A.id=B.m_id |
| | | inner join TK_Wrk_Step P on A.wo_code=P.wo_code and A.step_code=P.step_code |
| | | left join TK_Wrk_Man K on A.wo_code=K.wo_code |
| | | left join TKimp_Ewo E on K.m_po=E.wo and K.materiel_code=E.materiel_code |
| | | left join TGroup G on B.usergroup_code=G.group_code |
| | | left join TWoPrteEqp_Stad S on A.wo_code=S.wo and A.materiel_code=S.materiel_code and A.eqp_code=S.eqp_code and A.step_code=S.step_code and K.route_code=S.route_code |
| | | left join TMateriel_Info M on A.materiel_code=M.partcode |
| | |
| | | #endregion |
| | | |
| | | #region[çç»å·¥èµæ¥è¡¨è®°å½å¯¼åº] |
| | | public static ToMessage GroupSalaryReportExcelSearch(string wkshopcode, string compute, string wocode, string partcode, string partname, string partspec, string stepname, string groupcode, string username, string operopendate, string operclosedate,string rejectstepcode) |
| | | public static ToMessage GroupSalaryReportExcelSearch(string wkshopcode, string compute, string wocode,string saleordercode, string partcode, string partname, string partspec, string stepname, string groupcode, string username, string operopendate, string operclosedate,string rejectstepcode) |
| | | { |
| | | var dynamicParams = new DynamicParameters(); |
| | | string search = ""; |
| | |
| | | { |
| | | search += "and A.wo_code like '%'+@wocode+'%' "; |
| | | dynamicParams.Add("@wocode", wocode); |
| | | } |
| | | if (saleordercode != "" && saleordercode != null) |
| | | { |
| | | search += "and E.saleOrderCode like '%'+@saleordercode+'%' "; |
| | | dynamicParams.Add("@saleordercode", saleordercode); |
| | | } |
| | | if (partcode != "" && partcode != null) |
| | | { |
| | |
| | | //search = search.Substring(3);//æªåç´¢å¼2åé¢çå符 |
| | | // --------------æ¥è¯¢æå®æ°æ®-------------- |
| | | var total = 0; //æ»æ¡æ° |
| | | var sql = @"select distinct K.wkshp_code as 车é´ç¼ç ,F.org_name as 车é´åç§°,A.wo_code as å·¥åç¼å·,M.partcode as 产åç¼ç ,M.partname as 产ååç§°,M.partspec as 产åè§æ ¼, |
| | | var sql = @"select distinct K.wkshp_code as 车é´ç¼ç ,F.org_name as 车é´åç§°,E.saleOrderCode as éå®è®¢åå·,K.m_po as 订åå·,A.wo_code as å·¥åç¼å·,M.partcode as 产åç¼ç ,M.partname as 产ååç§°,M.partspec as 产åè§æ ¼, |
| | | T.stepcode as å·¥åºç¼ç ,T.stepname as å·¥åºåç§°,A.task_qty as 任塿°é,G.group_code as çç»ç¼ç ,G.group_name as çç»åç§°, |
| | | A.good_qty as æ¥å·¥æ°é,isnull(S.unprice,0) as å·¥åºåä»·,A.good_qty*isnull(S.unprice,0) as 计件工èµ,U.username as æä½äººå,A.lm_date as æä½æ¶é´,B.report_date as æ¥å·¥æ¶é´ |
| | | from TK_Wrk_Record A |
| | | inner join TK_Wrk_RecordSub B on A.id=B.m_id |
| | | inner join TK_Wrk_Step P on A.wo_code=P.wo_code and A.step_code=P.step_code |
| | | left join TK_Wrk_Man K on A.wo_code=K.wo_code |
| | | left join TKimp_Ewo E on K.m_po=E.wo and K.materiel_code=E.materiel_code |
| | | left join TGroup G on B.usergroup_code=G.group_code |
| | | left join TWoPrteEqp_Stad S on A.wo_code=S.wo and A.materiel_code=S.materiel_code and A.eqp_code=S.eqp_code and A.step_code=S.step_code and K.route_code=S.route_code |
| | | left join TMateriel_Info M on A.materiel_code=M.partcode |
| | |
| | | |
| | | |
| | | #region[人åå·¥èµæç»æ¥è¡¨] |
| | | public static ToMessage PeopleSalaryReportSearch(string wkshopcode, string compute, string wocode, string partcode, string partname, string partspec, string stepname, string groupcode, string reportname, string reportopendate, string reportclosedate,string rejectstepcode, int startNum, int endNum, string prop, string order) |
| | | public static ToMessage PeopleSalaryReportSearch(string wkshopcode, string compute, string wocode,string saleordercode, string partcode, string partname, string partspec, string stepname, string groupcode, string reportname, string reportopendate, string reportclosedate,string rejectstepcode, int startNum, int endNum, string prop, string order) |
| | | { |
| | | var dynamicParams = new DynamicParameters(); |
| | | string search = ""; |
| | |
| | | { |
| | | search += "and AA.wo_code like '%'+@wocode+'%' "; |
| | | dynamicParams.Add("@wocode", wocode); |
| | | } |
| | | if (saleordercode != "" && saleordercode != null) |
| | | { |
| | | search += "and AA.saleOrderCode like '%'+@saleordercode+'%' "; |
| | | dynamicParams.Add("@saleordercode", saleordercode); |
| | | } |
| | | if (partcode != "" && partcode != null) |
| | | { |
| | |
| | | search = search.Substring(3);//æªåç´¢å¼2åé¢çå符 |
| | | // --------------æ¥è¯¢æå®æ°æ®-------------- |
| | | var total = 0; //æ»æ¡æ° |
| | | var sql = @"select AA.wkshp_code,AA.wkshp_name,AA.wo_code,AA.partcode,AA.partname,AA.partspec,AA.stepcode,AA.stepname, |
| | | var sql = @"select AA.wkshp_code,AA.wkshp_name,AA.saleOrderCode,AA.m_po,AA.wo_code,AA.partcode,AA.partname,AA.partspec,AA.stepcode,AA.stepname, |
| | | AA.task_qty,AA.group_code,AA.group_name,AA.report_qty,AA.unprice,AA.ratio,AA.isend, |
| | | AA.moneys as usermoney,AA.username,AA.report_date |
| | | from ( |
| | | select distinct K.wkshp_code,F.org_name as wkshp_name, A.wo_code,M.partcode,M.partname,M.partspec,T.stepcode,T.stepname, |
| | | select distinct K.wkshp_code,F.org_name as wkshp_name,W.saleOrderCode,K.m_po,A.wo_code,M.partcode,M.partname,M.partspec,T.stepcode,T.stepname, |
| | | A.task_qty,G.group_code,G.group_name,B.report_qty,isnull(S.unprice,0) as unprice,B.ratio,P.isend, |
| | | (B.report_qty*isnull(S.unprice,0))*(B.ratio/100) as moneys,U.username,B.report_date |
| | | from TK_Wrk_Record A |
| | | inner join TK_Wrk_RecordSub B on A.id=B.m_id |
| | | inner join TK_Wrk_Step P on A.wo_code=P.wo_code and A.step_code=P.step_code |
| | | left join TK_Wrk_Man K on A.wo_code=K.wo_code |
| | | left join TKimp_Ewo W on K.m_po=W.wo and K.materiel_code=W.materiel_code |
| | | left join TGroup G on B.usergroup_code=G.group_code |
| | | left join TWoPrteEqp_Stad S on A.wo_code=S.wo and A.materiel_code=S.materiel_code and A.eqp_code=S.eqp_code and A.step_code=S.step_code and K.route_code=S.route_code |
| | | left join TMateriel_Info M on A.materiel_code=M.partcode |
| | |
| | | #endregion |
| | | |
| | | #region[人åå·¥èµæç»æ¥è¡¨å¯¼åº] |
| | | public static ToMessage PeopleSalaryReportExcelSearch(string wkshopcode, string compute, string wocode, string partcode, string partname, string partspec, string stepname, string groupcode, string reportname, string reportopendate, string reportclosedate,string rejectstepcode) |
| | | public static ToMessage PeopleSalaryReportExcelSearch(string wkshopcode, string compute, string wocode,string saleordercode, string partcode, string partname, string partspec, string stepname, string groupcode, string reportname, string reportopendate, string reportclosedate,string rejectstepcode) |
| | | { |
| | | var dynamicParams = new DynamicParameters(); |
| | | string search = ""; |
| | |
| | | { |
| | | search += "and AA.wo_code like '%'+@wocode+'%' "; |
| | | dynamicParams.Add("@wocode", wocode); |
| | | } |
| | | if (saleordercode != "" && saleordercode != null) |
| | | { |
| | | search += "and AA.saleOrderCode like '%'+@saleordercode+'%' "; |
| | | dynamicParams.Add("@saleordercode", saleordercode); |
| | | } |
| | | if (partcode != "" && partcode != null) |
| | | { |
| | |
| | | search = search.Substring(3);//æªåç´¢å¼2åé¢çå符 |
| | | // --------------æ¥è¯¢æå®æ°æ®-------------- |
| | | var total = 0; //æ»æ¡æ° |
| | | var sql = @"select AA.wkshp_code as 车é´ç¼ç ,AA.wkshp_name as 车é´åç§°,AA.wo_code as å·¥åç¼å·,AA.partcode as 产åç¼ç ,AA.partname as 产ååç§°,AA.partspec as 产åè§æ ¼,AA.stepcode as å·¥åºç¼ç ,AA.stepname as å·¥åºåç§°,AA.isend as æ¯å¦æ«éå·¥åº, |
| | | var sql = @"select AA.wkshp_code as 车é´ç¼ç ,AA.wkshp_name as 车é´åç§°,AA.saleOrderCode as éå®è®¢åå·,AA.m_po as ç产订åå·,AA.wo_code as å·¥åç¼å·,AA.partcode as 产åç¼ç ,AA.partname as 产ååç§°,AA.partspec as 产åè§æ ¼,AA.stepcode as å·¥åºç¼ç ,AA.stepname as å·¥åºåç§°,AA.isend as æ¯å¦æ«éå·¥åº, |
| | | AA.task_qty as 任塿°é,AA.group_code as ç产çç»ç¼ç ,AA.group_name as ç产çç»åç§°,AA.report_qty as æ¥å·¥æ°é,AA.unprice as å·¥åºåä»·,AA.ratio as åé
æ¯ä¾, |
| | | AA.moneys as 计件工èµ,AA.username as æ¥å·¥äººå,AA.report_date as æ¥å·¥æ¶é´ |
| | | from ( |
| | | select distinct K.wkshp_code,F.org_name as wkshp_name,A.wo_code,M.partcode,M.partname,M.partspec,T.stepcode,T.stepname, |
| | | select distinct K.wkshp_code,F.org_name as wkshp_name,W.saleOrderCode,K.m_po,A.wo_code,M.partcode,M.partname,M.partspec,T.stepcode,T.stepname, |
| | | A.task_qty,G.group_code,G.group_name,B.report_qty,isnull(S.unprice,0) as unprice,B.ratio,P.isend, |
| | | (B.report_qty*isnull(S.unprice,0))*(B.ratio/100) as moneys,U.username,B.report_date |
| | | from TK_Wrk_Record A |
| | | inner join TK_Wrk_RecordSub B on A.id=B.m_id |
| | | inner join TK_Wrk_Step P on A.wo_code=P.wo_code and A.step_code=P.step_code |
| | | left join TK_Wrk_Man K on A.wo_code=K.wo_code |
| | | left join TKimp_Ewo W on K.m_po=W.wo and K.materiel_code=W.materiel_code |
| | | left join TGroup G on B.usergroup_code=G.group_code |
| | | left join TWoPrteEqp_Stad S on A.wo_code=S.wo and A.materiel_code=S.materiel_code and A.eqp_code=S.eqp_code and A.step_code=S.step_code and K.route_code=S.route_code |
| | | left join TMateriel_Info M on A.materiel_code=M.partcode |
| | |
| | | |
| | | |
| | | #region[ä¸è¯æç»æ¥è¡¨] |
| | | public static ToMessage DefectDetailsReportSearch(string wkshopcode, string wocode, string partcode, string partname, string partspec, string stepname, string defectcode, string defectname, string reportname, string reportopendate, string reportclosedate, int startNum, int endNum, string prop, string order) |
| | | public static ToMessage DefectDetailsReportSearch(string wkshopcode, string wocode,string saleordercode, string partcode, string partname, string partspec, string stepname, string defectcode, string defectname, string reportname, string reportopendate, string reportclosedate, int startNum, int endNum, string prop, string order) |
| | | { |
| | | var dynamicParams = new DynamicParameters(); |
| | | string search = ""; |
| | |
| | | { |
| | | search += "and AA.wo_code like '%'+@wocode+'%' "; |
| | | dynamicParams.Add("@wocode", wocode); |
| | | } |
| | | if (saleordercode != "" && saleordercode != null) |
| | | { |
| | | search += "and AA.saleOrderCode like '%'+@saleordercode+'%' "; |
| | | dynamicParams.Add("@saleordercode", saleordercode); |
| | | } |
| | | if (partcode != "" && partcode != null) |
| | | { |
| | |
| | | // --------------æ¥è¯¢æå®æ°æ®-------------- |
| | | var total = 0; //æ»æ¡æ° |
| | | var sql = @"select * from( |
| | | select W.wkshp_code,L.org_name as wkshp_name,A.wo_code,M.partcode,M.partname,M.partspec,T.stepcode,T.stepname,P.plan_qty,A.defect_qty,A.defect_pendqty,A.bad_qty, |
| | | select W.wkshp_code,L.org_name as wkshp_name,E.saleOrderCode,W.m_po,A.wo_code,M.partcode,M.partname,M.partspec,T.stepcode,T.stepname,P.plan_qty,A.defect_qty,A.defect_pendqty,A.bad_qty, |
| | | A.defect_code, |
| | | STUFF((SELECT ',' + P.name |
| | | FROM TDefect P |
| | |
| | | left join TStep T on A.step_code=T.stepcode |
| | | left join TUser U on A.lm_user=U.usercode |
| | | left join TK_Wrk_Man W on A.wo_code=W.wo_code |
| | | left join TKimp_Ewo E on W.m_po=E.wo and W.materiel_code=E.materiel_code |
| | | left join TOrganization L on W.wkshp_code=L.org_code |
| | | ) as AA |
| | | where " + search; |
| | |
| | | #endregion |
| | | |
| | | #region[ä¸è¯æç»æ¥è¡¨å¯¼åº] |
| | | public static ToMessage DefectDetailsReportExcelSearch(string wkshopcode, string wocode, string partcode, string partname, string partspec, string stepname, string defectcode, string defectname, string reportname, string reportopendate, string reportclosedate) |
| | | public static ToMessage DefectDetailsReportExcelSearch(string wkshopcode, string wocode,string saleordercode, string partcode, string partname, string partspec, string stepname, string defectcode, string defectname, string reportname, string reportopendate, string reportclosedate) |
| | | { |
| | | var dynamicParams = new DynamicParameters(); |
| | | string search = ""; |
| | |
| | | { |
| | | search += "and AA.wo_code like '%'+@wocode+'%' "; |
| | | dynamicParams.Add("@wocode", wocode); |
| | | } |
| | | if (saleordercode != "" && saleordercode != null) |
| | | { |
| | | search += "and AA.saleOrderCode like '%'+@saleordercode+'%' "; |
| | | dynamicParams.Add("@saleordercode", saleordercode); |
| | | } |
| | | if (partcode != "" && partcode != null) |
| | | { |
| | |
| | | search = search.Substring(3);//æªåç´¢å¼2åé¢çå符 |
| | | // --------------æ¥è¯¢æå®æ°æ®-------------- |
| | | var total = 0; //æ»æ¡æ° |
| | | var sql = @"select AA.wkshp_code as 车é´ç¼ç ,AA.wkshp_name as 车é´åç§°,AA.wo_code as å·¥åç¼å·,AA.partcode as 产åç¼ç ,AA.partname as 产ååç§°,AA.partspec as 产åè§æ ¼,AA.stepcode as å·¥åºç¼ç , |
| | | AA.stepname as å·¥åºåç§°,AA.plan_qty as 任塿°é,AA.defect_qty as ä¸è¯æ°é,A.defect_pendqty as ä¸è¯å¾
å¤çæ°é,A.bad_qty as æ¥åºæ°é,AA.defect_code as 缺é·ä»£ç ,AA.defect_name as 缺é·åç§°, |
| | | var sql = @"select AA.wkshp_code as 车é´ç¼ç ,AA.wkshp_name as 车é´åç§°,AA.saleOrderCode as éå®è®¢åå·,AA.m_po as ç产订åå·,AA.wo_code as å·¥åç¼å·,AA.partcode as 产åç¼ç ,AA.partname as 产ååç§°,AA.partspec as 产åè§æ ¼,AA.stepcode as å·¥åºç¼ç , |
| | | AA.stepname as å·¥åºåç§°,AA.plan_qty as 任塿°é,AA.defect_qty as ä¸è¯æ°é,AA.defect_pendqty as ä¸è¯å¾
å¤çæ°é,AA.bad_qty as æ¥åºæ°é,AA.defect_code as 缺é·ä»£ç ,AA.defect_name as 缺é·åç§°, |
| | | (case when AA.style='B' then 'æ¥å·¥' when AA.style='S' then 'æ¶æ' end) as 'æä½ç±»å',AA.username as æä½äººå,AA.lm_date as æä½æ¶é´ |
| | | from( |
| | | select W.wkshp_code,L.org_name as wkshp_name,A.wo_code,M.partcode,M.partname,M.partspec,T.stepcode,T.stepname,P.plan_qty,A.defect_qty, |
| | | select W.wkshp_code,L.org_name as wkshp_name,E.saleOrderCode,W.m_po,A.wo_code,M.partcode,M.partname,M.partspec,T.stepcode,T.stepname,P.plan_qty,A.defect_qty,A.defect_pendqty,A.bad_qty, |
| | | A.defect_code, |
| | | STUFF((SELECT ',' + P.name |
| | | FROM TDefect P |
| | |
| | | left join TStep T on A.step_code=T.stepcode |
| | | left join TUser U on A.lm_user=U.usercode |
| | | left join TK_Wrk_Man W on A.wo_code=W.wo_code |
| | | left join TKimp_Ewo E on W.m_po=E.wo and W.materiel_code=E.materiel_code |
| | | left join TOrganization L on W.wkshp_code=L.org_code |
| | | ) as AA |
| | | where " + search; |
| | |
| | | |
| | | |
| | | #region[ç»´ä¿®æç»æ¥è¡¨] |
| | | public static ToMessage MaintenanceDetailsReportSearch(string wkshopcode, string wocode, string partcode, string partname, string partspec, string stepname, string style, string defectname, string repairname, string repairopendate, string repairclosedate, int startNum, int endNum, string prop, string order) |
| | | public static ToMessage MaintenanceDetailsReportSearch(string wkshopcode, string wocode,string saleordercode, string partcode, string partname, string partspec, string stepname, string style, string defectname, string repairname, string repairopendate, string repairclosedate, int startNum, int endNum, string prop, string order) |
| | | { |
| | | var dynamicParams = new DynamicParameters(); |
| | | string search = ""; |
| | |
| | | { |
| | | search += "and AA.wo_code like '%'+@wocode+'%' "; |
| | | dynamicParams.Add("@wocode", wocode); |
| | | } |
| | | if (saleordercode != "" && saleordercode != null) |
| | | { |
| | | search += "and AA.saleOrderCode like '%'+@saleordercode+'%' "; |
| | | dynamicParams.Add("@saleordercode", saleordercode); |
| | | } |
| | | if (partcode != "" && partcode != null) |
| | | { |
| | |
| | | search = search.Substring(3);//æªåç´¢å¼2åé¢çå符 |
| | | // --------------æ¥è¯¢æå®æ°æ®-------------- |
| | | var total = 0; //æ»æ¡æ° |
| | | var sql = @"select AA.wkshp_code,AA.wkshp_name,AA.wo_code,AA.partcode,AA.partname,AA.partspec,AA.stepcode,AA.stepname,(case when AA.style='B' then 'æ¥å·¥' when AA.style='S' then 'æ¶æ' end) as style, |
| | | var sql = @"select AA.wkshp_code,AA.wkshp_name,AA.saleOrderCode,AA.m_po,AA.wo_code,AA.partcode,AA.partname,AA.partspec,AA.stepcode,AA.stepname,(case when AA.style='B' then 'æ¥å·¥' when AA.style='S' then 'æ¶æ' end) as style, |
| | | AA.plan_qty,AA.repair_qty,AA.bad_qty,AA.defect_code,AA.defect_name,AA.lm_user,AA.lm_date |
| | | from( |
| | | select W.wkshp_code,L.org_name as wkshp_name,F.wo_code,M.partcode,M.partname,M.partspec,S.stepcode,S.stepname,F.style,P.plan_qty,F.repair_qty,F.bad_qty,F.defect_code, |
| | | select W.wkshp_code,L.org_name as wkshp_name,W.m_po,E.saleOrderCode,F.wo_code,M.partcode,M.partname,M.partspec,S.stepcode,S.stepname,F.style,P.plan_qty,F.repair_qty,F.bad_qty,F.defect_code, |
| | | defect_name = STUFF(( SELECT ',' + T.name |
| | | FROM TDefect as T |
| | | where PATINDEX('%,' + RTRIM(T.code) + ',%',',' + F.defect_code + ',')>0 |
| | |
| | | left join TStep S on F.step_code=S.stepcode |
| | | left join TUser U on F.lm_user=U.usercode |
| | | left join TK_Wrk_Man W on F.wo_code=W.wo_code |
| | | left join TKimp_Ewo E on W.m_po=E.wo and W.materiel_code=E.materiel_code |
| | | left join TOrganization L on W.wkshp_code=L.org_code |
| | | ) as AA |
| | | where " + search; |
| | |
| | | #endregion |
| | | |
| | | #region[ç»´ä¿®æç»æ¥è¡¨å¯¼åº] |
| | | public static ToMessage MaintenanceDetailsReportExcelSearch(string wkshopcode, string wocode, string partcode, string partname, string partspec, string stepname, string style, string defectname, string repairname, string repairopendate, string repairclosedate) |
| | | public static ToMessage MaintenanceDetailsReportExcelSearch(string wkshopcode, string wocode,string saleordercode, string partcode, string partname, string partspec, string stepname, string style, string defectname, string repairname, string repairopendate, string repairclosedate) |
| | | { |
| | | var dynamicParams = new DynamicParameters(); |
| | | string search = ""; |
| | |
| | | { |
| | | search += "and AA.wo_code like '%'+@wocode+'%' "; |
| | | dynamicParams.Add("@wocode", wocode); |
| | | } |
| | | if (saleordercode != "" && saleordercode != null) |
| | | { |
| | | search += "and AA.saleOrderCode like '%'+@saleordercode+'%' "; |
| | | dynamicParams.Add("@saleordercode", saleordercode); |
| | | } |
| | | if (partcode != "" && partcode != null) |
| | | { |
| | |
| | | search = search.Substring(3);//æªåç´¢å¼2åé¢çå符 |
| | | // --------------æ¥è¯¢æå®æ°æ®-------------- |
| | | var total = 0; //æ»æ¡æ° |
| | | var sql = @"select AA.wkshp_code as 车é´ç¼ç ,AA.wkshp_name as 车é´åç§°,AA.wo_code as å·¥åç¼å·,AA.partcode as 产åç¼ç ,AA.partname as 产ååç§°,AA.partspec as 产åè§æ ¼,AA.stepcode as å·¥åºç¼ç ,AA.stepname as å·¥åºåç§°, |
| | | var sql = @"select AA.wkshp_code as 车é´ç¼ç ,AA.wkshp_name as 车é´åç§°,AA.saleOrderCode as éå®è®¢åå·,AA.m_po as 订åç¼å·,AA.wo_code as å·¥åç¼å·,AA.partcode as 产åç¼ç ,AA.partname as 产ååç§°,AA.partspec as 产åè§æ ¼,AA.stepcode as å·¥åºç¼ç ,AA.stepname as å·¥åºåç§°, |
| | | (case when AA.style='B' then 'æ¥å·¥' when AA.style='S' then 'æ¶æ' end) as æä½ç±»å, |
| | | AA.plan_qty as 任塿°é,AA.repair_qty as ç»´ä¿®æ°é,AA.bad_qty as æ¥åºæ°é,AA.defect_name as 缺é·åç§°,AA.lm_user as 维修人å,AA.lm_date as ç»´ä¿®æ¶é´ |
| | | from( |
| | | select W.wkshp_code,L.org_name as wkshp_name,F.wo_code,M.partcode,M.partname,M.partspec,S.stepcode,S.stepname,F.style,P.plan_qty,F.repair_qty,F.bad_qty,F.defect_code, |
| | | select W.wkshp_code,L.org_name as wkshp_name,E.saleOrderCode,W.m_po,F.wo_code,M.partcode,M.partname,M.partspec,S.stepcode,S.stepname,F.style,P.plan_qty,F.repair_qty,F.bad_qty,F.defect_code, |
| | | defect_name = STUFF(( SELECT ',' + T.name |
| | | FROM TDefect as T |
| | | where PATINDEX('%,' + RTRIM(T.code) + ',%',',' + F.defect_code + ',')>0 |
| | |
| | | left join TStep S on F.step_code=S.stepcode |
| | | left join TUser U on F.lm_user=U.usercode |
| | | left join TK_Wrk_Man W on F.wo_code=W.wo_code |
| | | left join TKimp_Ewo E on W.m_po=E.wo and W.materiel_code=E.materiel_code |
| | | left join TOrganization L on W.wkshp_code=L.org_code |
| | | ) as AA |
| | | where " + search; |
| | |
| | | |
| | | |
| | | #region[ç产è¿åº¦æ¥è¡¨] |
| | | public static ToMessage ProductionScheduleReportSearch(string wkshopcode, string status, string wocode, string routecode, string routename, string partcode, string partname, string partspec,string opendate,string closedate, int startNum, int endNum, string prop, string order) |
| | | public static ToMessage ProductionScheduleReportSearch(string wkshopcode, string status, string wocode,string saleordercode, string routecode, string routename, string partcode, string partname, string partspec,string opendate,string closedate, int startNum, int endNum, string prop, string order) |
| | | { |
| | | var dynamicParams = new DynamicParameters(); |
| | | string search = ""; |
| | |
| | | { |
| | | search += "and AA.wo_code like '%'+@wocode+'%' "; |
| | | dynamicParams.Add("@wocode", wocode); |
| | | } |
| | | if (saleordercode != "" && saleordercode != null) |
| | | { |
| | | search += "and AA.saleOrderCode like '%'+@saleordercode+'%' "; |
| | | dynamicParams.Add("@saleordercode", saleordercode); |
| | | } |
| | | if (routecode != "" && routecode != null) |
| | | { |
| | |
| | | #endregion |
| | | |
| | | #region[ç产è¿åº¦æ¥è¡¨å¯¼åº] |
| | | public static ToMessage ProductionScheduleReportExcelSearch(string wkshopcode, string status, string wocode, string routecode, string routename, string partcode, string partname, string partspec,string opendate,string closedate) |
| | | public static ToMessage ProductionScheduleReportExcelSearch(string wkshopcode, string status, string wocode,string saleordercode, string routecode, string routename, string partcode, string partname, string partspec,string opendate,string closedate) |
| | | { |
| | | var dynamicParams = new DynamicParameters(); |
| | | string search = ""; |
| | |
| | | { |
| | | search += "and AA.wo_code like '%'+@wocode+'%' "; |
| | | dynamicParams.Add("@wocode", wocode); |
| | | } |
| | | if (saleordercode != "" && saleordercode != null) |
| | | { |
| | | search += "and AA.saleOrderCode like '%'+@saleordercode+'%' "; |
| | | dynamicParams.Add("@saleordercode", saleordercode); |
| | | } |
| | | if (routecode != "" && routecode != null) |
| | | { |
| | |
| | | search = search.Substring(3);//æªåç´¢å¼2åé¢çå符 |
| | | // --------------æ¥è¯¢æå®æ°æ®-------------- |
| | | var total = 0; //æ»æ¡æ° |
| | | var sql = @"select AA.saleOrderCode as ERPæºåå·,AA.m_po as ERPç产订å,AA.wkshp_code as 车é´ç¼ç ,AA.wkshp_name as 车é´åç§°,AA.wo_code as ç产工åå·, |
| | | var sql = @"select AA.saleOrderCode as éå®è®¢åå·,AA.m_po as ç产订åå·,AA.wkshp_code as 车é´ç¼ç ,AA.wkshp_name as 车é´åç§°,AA.wo_code as ç产工åå·, |
| | | (case when AA.status='START' then 'æ§è¡ä¸' when AA.status='CLOSED' then '已宿' else 'æªå¼å§' end) as å·¥åç¶æ, |
| | | AA.lm_date as åæ®æ¥æ,AA.route_code as å·¥èºè·¯çº¿ç¼å·,AA.route_name as å·¥èºè·¯çº¿åç§°, |
| | | AA.partcode as 产åç¼ç ,AA.partname as 产ååç§°,AA.partspec as 产åè§æ ¼,AA.plan_qty as 任塿°é,left(AA.concat_name,len(concat_name)-1) as ç产è¿åº¦ from |
| ¶Ô±ÈÐÂÎļþ |
| | |
| | | ãæ¶é´ã:2023-11-02 14:56:20,137 |
| | | ã级å«ã:ERROR |
| | | ãç±»åã:æ¥å¿è®°å½ |
| | | ã线ç¨IDã: 6 |
| | | ãæä»¶å°åã:D:\æ°å¯è¿ªMES\MES项ç®\MESæ£æ¸
æ²³\VueWebApi\VueWebApi\Tools\LogHelper.cs 第26è¡ |
| | | ãæ¥å¿å
容ã: |
| | | æ¶æ¯ç±»åï¼SqlException |
| | | æ¶æ¯å
å®¹ï¼æ æ³ç»å®ç±å¤ä¸ªé¨åç»æçæ è¯ç¬¦ "A.defect_pendqty"ã |
| | | æ æ³ç»å®ç±å¤ä¸ªé¨åç»æçæ è¯ç¬¦ "A.bad_qty"ã |
| | | å¼åå¼å¸¸è·¯å¾ï¼/api/ReportManager/DefectDetailsReportExcelSearch |
| | | å¼åå¼å¸¸çæ¹æ³ï¼OnError |
| | | å¼åå¼å¸¸æºï¼.Net SqlClient Data Provider å¨ System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction) |
| | | å¨ System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction) |
| | | å¨ System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose) |
| | | å¨ System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady) |
| | | å¨ System.Data.SqlClient.SqlDataReader.TryConsumeMetaData() |
| | | å¨ System.Data.SqlClient.SqlDataReader.get_MetaData() |
| | | å¨ System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString, Boolean isInternal, Boolean forDescribeParameterEncryption, Boolean shouldCacheForAlwaysEncrypted) |
| | | å¨ System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async, Int32 timeout, Task& task, Boolean asyncWrite, Boolean inRetry, SqlDataReader ds, Boolean describeParameterEncryptionRequest) |
| | | å¨ System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, TaskCompletionSource`1 completion, Int32 timeout, Task& task, Boolean& usedCache, Boolean asyncWrite, Boolean inRetry) |
| | | å¨ System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method) |
| | | å¨ System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior, String method) |
| | | å¨ System.Data.SqlClient.SqlCommand.ExecuteDbDataReader(CommandBehavior behavior) |
| | | å¨ System.Data.Common.DbCommand.System.Data.IDbCommand.ExecuteReader(CommandBehavior behavior) |
| | | å¨ Dapper.SqlMapper.ExecuteReaderWithFlagsFallback(IDbCommand cmd, Boolean wasClosed, CommandBehavior behavior) |
| | | å¨ Dapper.SqlMapper.ExecuteReaderImpl(IDbConnection cnn, CommandDefinition& command, CommandBehavior commandBehavior, IDbCommand& cmd) |
| | | å¨ Dapper.SqlMapper.ExecuteReader(IDbConnection cnn, String sql, Object param, IDbTransaction transaction, Nullable`1 commandTimeout, Nullable`1 commandType) |
| | | å¨ VueWebApi.Tools.DapperHelper.selectdata(String sql, Object parm) ä½ç½® D:\æ°å¯è¿ªMES\MES项ç®\MESæ£æ¸
æ²³\VueWebApi\VueWebApi\Tools\DapperHelper.cs:è¡å· 197 |
| | | ãæ¥è®°è¯¦ç»ãï¼ |
| | | --------------------------------------------------------------------------------------------------------------- |
| | |
| | | { |
| | | public class ScanStartReportData |
| | | { |
| | | public string saleOrderCode { get; set; }//éå®è®¢åå· |
| | | public string m_po { get; set; }//订åç¼å· |
| | | public string wo_code { get; set; } //å·¥åç¼å· |
| | | public string partnumber { get; set; } //产åç¼ç |
| | | public string partname { get; set; } //产ååç§° |
| | |
| | | { |
| | | public class ScanStartReportDataOut |
| | | { |
| | | public string saleOrderCode { get; set; }//éå®è®¢åå· |
| | | public string m_po { get; set; }//订åç¼å· |
| | | public string wo_code { get; set; } //å·¥åç¼å· |
| | | public string partnumber { get; set; } //产åç¼ç |
| | | public string partname { get; set; } //产ååç§° |
| | |
| | | <Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> |
| | | <PropertyGroup> |
| | | <_PublishTargetUrl>D:\ç½ç«åå¸\MESæ£æ¸
æ²³</_PublishTargetUrl> |
| | | <History>True|2023-10-30T09:10:12.6270482Z;True|2023-10-30T14:52:35.6311299+08:00;True|2023-10-30T11:08:33.1712753+08:00;True|2023-10-13T12:07:07.3822225+08:00;True|2023-10-10T10:34:01.3167190+08:00;True|2023-10-10T10:28:48.9531906+08:00;True|2023-10-10T09:54:43.0218459+08:00;True|2023-10-10T09:43:57.3542420+08:00;True|2023-09-27T07:47:41.5372303+08:00;True|2023-09-21T18:22:16.9575605+08:00;True|2023-09-21T18:09:09.2828591+08:00;True|2023-09-21T17:57:05.3919457+08:00;True|2023-09-21T17:40:17.7722883+08:00;True|2023-09-21T17:24:20.7004108+08:00;True|2023-09-21T17:14:30.5230341+08:00;True|2023-09-21T15:14:11.3019288+08:00;True|2023-09-20T09:47:15.7375677+08:00;True|2023-09-12T14:37:37.0665432+08:00;True|2023-08-16T16:52:02.7063729+08:00;True|2023-08-11T10:35:11.9236725+08:00;True|2023-08-07T10:34:44.0844087+08:00;True|2023-08-07T10:28:56.2230477+08:00;True|2023-07-31T11:18:06.9546379+08:00;True|2023-07-03T10:38:22.8080444+08:00;True|2023-06-26T08:15:27.3611577+08:00;True|2023-06-25T15:36:41.8736654+08:00;True|2023-06-25T14:33:49.5287543+08:00;True|2023-06-13T10:24:59.6876648+08:00;</History> |
| | | <History>True|2023-11-02T06:59:12.9729377Z;True|2023-11-02T14:03:21.3142180+08:00;True|2023-11-02T13:10:06.4259793+08:00;True|2023-11-02T13:04:59.2726100+08:00;True|2023-10-30T17:10:12.6270482+08:00;True|2023-10-30T14:52:35.6311299+08:00;True|2023-10-30T11:08:33.1712753+08:00;True|2023-10-13T12:07:07.3822225+08:00;True|2023-10-10T10:34:01.3167190+08:00;True|2023-10-10T10:28:48.9531906+08:00;True|2023-10-10T09:54:43.0218459+08:00;True|2023-10-10T09:43:57.3542420+08:00;True|2023-09-27T07:47:41.5372303+08:00;True|2023-09-21T18:22:16.9575605+08:00;True|2023-09-21T18:09:09.2828591+08:00;True|2023-09-21T17:57:05.3919457+08:00;True|2023-09-21T17:40:17.7722883+08:00;True|2023-09-21T17:24:20.7004108+08:00;True|2023-09-21T17:14:30.5230341+08:00;True|2023-09-21T15:14:11.3019288+08:00;True|2023-09-20T09:47:15.7375677+08:00;True|2023-09-12T14:37:37.0665432+08:00;True|2023-08-16T16:52:02.7063729+08:00;True|2023-08-11T10:35:11.9236725+08:00;True|2023-08-07T10:34:44.0844087+08:00;True|2023-08-07T10:28:56.2230477+08:00;True|2023-07-31T11:18:06.9546379+08:00;True|2023-07-03T10:38:22.8080444+08:00;True|2023-06-26T08:15:27.3611577+08:00;True|2023-06-25T15:36:41.8736654+08:00;True|2023-06-25T14:33:49.5287543+08:00;True|2023-06-13T10:24:59.6876648+08:00;</History> |
| | | </PropertyGroup> |
| | | <ItemGroup> |
| | | <File Include="Areas/HelpPage/HelpPage.css"> |
| | |
| | | <publishTime>12/24/2021 15:38:29</publishTime> |
| | | </File> |
| | | <File Include="bin/VueWebApi.dll"> |
| | | <publishTime>10/30/2023 17:10:04</publishTime> |
| | | <publishTime>11/02/2023 14:59:07</publishTime> |
| | | </File> |
| | | <File Include="bin/VueWebApi.pdb"> |
| | | <publishTime>10/30/2023 17:10:04</publishTime> |
| | | <publishTime>11/02/2023 14:59:07</publishTime> |
| | | </File> |
| | | <File Include="bin/VueWebApi.xml"> |
| | | <publishTime>10/30/2023 17:10:03</publishTime> |
| | | <publishTime>11/02/2023 14:59:07</publishTime> |
| | | </File> |
| | | <File Include="bin/WebActivatorEx.dll"> |
| | | <publishTime>02/08/2013 16:42:28</publishTime> |
| | |
| | | <publishTime>06/16/2022 13:39:23</publishTime> |
| | | </File> |
| | | <File Include="Web.config"> |
| | | <publishTime>10/30/2023 17:10:11</publishTime> |
| | | <publishTime>11/02/2023 14:59:12</publishTime> |
| | | </File> |
| | | </ItemGroup> |
| | | </Project> |
| | |
| | | } |
| | | |
| | | //1.æ ¹æ®å·¥å+å·¥åºæ¥æ¾å½åå·¥åºæ¯å¦é¦éå·¥åº |
| | | sql = @"select A.wo_code,P.partcode,P.partname,P.partspec, T.stepcode,T.stepname,A.seq,T.flwtype,T.descr,A.status,A.plan_qty,A.isbott,A.isend,L.org_code,L.org_name |
| | | sql = @"select A.wo_code,P.partcode,P.partname,P.partspec, T.stepcode,T.stepname,A.seq,T.flwtype,T.descr,A.status,A.plan_qty,A.isbott,A.isend,L.org_code,L.org_name, |
| | | M.m_po,W.saleOrderCode |
| | | from TK_Wrk_Step A |
| | | left join TStep T on A.step_code=T.stepcode |
| | | left join TK_Wrk_Man M on A.wo_code=M.wo_code |
| | | left join TKimp_Ewo W on M.m_po=W.wo and M.materiel_code=W.materiel_code |
| | | left join TMateriel_Info P on M.materiel_code=P.partcode |
| | | left join TOrganization L on M.wkshp_code=L.org_code |
| | | where A.wo_code=@ordercode and A.step_code=@stepcode"; |
| | |
| | | { |
| | | rt.wkshopcode= data.Rows[0]["org_code"].ToString(); //车é´ç¼ç |
| | | rt.wkshopname = data.Rows[0]["org_name"].ToString(); //车é´åç§° |
| | | rt.saleOrderCode = data.Rows[0]["saleOrderCode"].ToString();//éå®è®¢åå· |
| | | rt.m_po= data.Rows[0]["m_po"].ToString();//订åå· |
| | | rt.wo_code = data.Rows[0]["WO_CODE"].ToString(); //å·¥åå· |
| | | rt.partnumber = data.Rows[0]["PARTCODE"].ToString(); //产åç¼ç |
| | | rt.partname = data.Rows[0]["PARTNAME"].ToString(); //产ååç§° |
| | |
| | | } |
| | | |
| | | //1.æ ¹æ®å·¥å+å·¥åºæ¥æ¾å½åå·¥åºæ¯å¦é¦éå·¥åº |
| | | sql = @"select A.wo_code,P.partcode,P.partname,P.partspec, T.stepcode,T.stepname,A.seq,T.flwtype,T.descr,A.status,A.plan_qty,A.isbott,A.isend,L.org_code,L.org_name |
| | | sql = @"select A.wo_code,P.partcode,P.partname,P.partspec, T.stepcode,T.stepname,A.seq,T.flwtype,T.descr,A.status,A.plan_qty,A.isbott,A.isend,L.org_code,L.org_name, |
| | | M.m_po,W.saleOrderCode |
| | | from TK_Wrk_Step A |
| | | left join TStep T on A.step_code=T.stepcode |
| | | left join TK_Wrk_Man M on A.wo_code=M.wo_code |
| | | left join TKimp_Ewo W on M.m_po=W.wo and M.materiel_code=W.materiel_code |
| | | left join TMateriel_Info P on M.materiel_code=P.partcode |
| | | left join TOrganization L on M.wkshp_code=L.org_code |
| | | where A.wo_code=@ordercode and A.step_code=@stepcode"; |
| | |
| | | rt.wkshopcode = data.Rows[0]["org_code"].ToString(); //车é´ç¼ç |
| | | rt.wkshopname = data.Rows[0]["org_name"].ToString(); //车é´åç§° |
| | | rt.wo_code = data.Rows[0]["WO_CODE"].ToString(); //å·¥åå· |
| | | rt.saleOrderCode = data.Rows[0]["saleOrderCode"].ToString();//éå®è®¢åå· |
| | | rt.m_po = data.Rows[0]["m_po"].ToString();//订åå· |
| | | rt.partnumber = data.Rows[0]["PARTCODE"].ToString(); //产åç¼ç |
| | | rt.partname = data.Rows[0]["PARTNAME"].ToString(); //产ååç§° |
| | | rt.partspec = data.Rows[0]["PARTSPEC"].ToString(); //产åè§æ ¼ |
| | |
| | | <param name="partcode">ç©æç¼ç </param> |
| | | <returns></returns> |
| | | </member> |
| | | <member name="M:VueWebApi.Controllers.ReportManagerController.OutSourceReportSearch(System.Int32,System.Int32,System.String,System.String,System.String,System.String,System.String,System.String,System.String,System.String,System.String,System.String,System.String)"> |
| | | <member name="M:VueWebApi.Controllers.ReportManagerController.OutSourceReportSearch(System.Int32,System.Int32,System.String,System.String,System.String,System.String,System.String,System.String,System.String,System.String,System.String,System.String,System.String,System.String)"> |
| | | <summary> |
| | | å§å¤æ¥è¡¨è®°å½æ¥è¯¢ |
| | | </summary> |
| | | <param name="wkshopcode">车é´ç¼ç </param> |
| | | <param name="wocode">å·¥åç¼å·</param> |
| | | <param name="saleordercode">éå®è®¢åå·</param> |
| | | <param name="partcode">产åç¼ç </param> |
| | | <param name="partname">产ååç§°</param> |
| | | <param name="partspec">è§æ ¼åå·</param> |
| | |
| | | <param name="order">æåºè§å</param> |
| | | <returns></returns> |
| | | </member> |
| | | <member name="M:VueWebApi.Controllers.ReportManagerController.OutSourceReportExcelSearch(System.String,System.String,System.String,System.String,System.String,System.String,System.String,System.String,System.String)"> |
| | | <member name="M:VueWebApi.Controllers.ReportManagerController.OutSourceReportExcelSearch(System.String,System.String,System.String,System.String,System.String,System.String,System.String,System.String,System.String,System.String)"> |
| | | <summary> |
| | | å§å¤æ¥è¡¨è®°å½å¯¼åº |
| | | </summary> |
| | | <param name="wkshopcode">车é´ç¼ç </param> |
| | | <param name="wocode">å·¥åç¼å·</param> |
| | | <param name="saleordercode">éå®è®¢åå·</param> |
| | | <param name="partcode">产åç¼ç </param> |
| | | <param name="partname">产ååç§°</param> |
| | | <param name="partspec">è§æ ¼åå·</param> |
| | |
| | | <param name="receivdate">æ¶ææ¶é´</param> |
| | | <returns></returns> |
| | | </member> |
| | | <member name="M:VueWebApi.Controllers.ReportManagerController.GroupSalaryReportSearch(System.Int32,System.Int32,System.String,System.String,System.String,System.String,System.String,System.String,System.String,System.String,System.String,System.String,System.String,System.String,System.String)"> |
| | | <member name="M:VueWebApi.Controllers.ReportManagerController.GroupSalaryReportSearch(System.Int32,System.Int32,System.String,System.String,System.String,System.String,System.String,System.String,System.String,System.String,System.String,System.String,System.String,System.String,System.String,System.String)"> |
| | | <summary> |
| | | çç»å·¥èµæ¥è¡¨è®°å½æ¥è¯¢ |
| | | </summary> |
| | | <param name=" wkshopcode">车é´ç¼ç </param> |
| | | <param name="compute">è®¡ç®æ¹å¼(éé/æ«é)</param> |
| | | <param name="wocode">å·¥åç¼å·</param> |
| | | <param name="saleordercode">éå®è®¢åå·</param> |
| | | <param name="partcode">产åç¼ç </param> |
| | | <param name="partname">产ååç§°</param> |
| | | <param name="partspec">è§æ ¼åå·</param> |
| | |
| | | <param name="id">æ¥å·¥è®°å½ä¸»è¡¨id</param> |
| | | <returns></returns> |
| | | </member> |
| | | <member name="M:VueWebApi.Controllers.ReportManagerController.GroupSalaryReportExcelSearch(System.String,System.String,System.String,System.String,System.String,System.String,System.String,System.String,System.String,System.String,System.String)"> |
| | | <member name="M:VueWebApi.Controllers.ReportManagerController.GroupSalaryReportExcelSearch(System.String,System.String,System.String,System.String,System.String,System.String,System.String,System.String,System.String,System.String,System.String,System.String)"> |
| | | <summary> |
| | | çç»å·¥èµæ¥è¡¨è®°å½æ¥è¯¢ |
| | | </summary> |
| | | <param name=" wkshopcode">车é´ç¼ç </param> |
| | | <param name="compute">è®¡ç®æ¹å¼(éé/æ«é)</param> |
| | | <param name="wocode">å·¥åç¼å·</param> |
| | | <param name="saleordercode">éå®è®¢åå·</param> |
| | | <param name="partcode">产åç¼ç </param> |
| | | <param name="partname">产ååç§°</param> |
| | | <param name="partspec">è§æ ¼åå·</param> |
| | |
| | | <param name="rejectstepcode">åé¤å·¥åº(åºå®èªèµå·¥åºä¸åä¸è®¡ç®)</param> |
| | | <returns></returns> |
| | | </member> |
| | | <member name="M:VueWebApi.Controllers.ReportManagerController.PeopleSalaryReportSearch(System.Int32,System.Int32,System.String,System.String,System.String,System.String,System.String,System.String,System.String,System.String,System.String,System.String,System.String,System.String,System.String)"> |
| | | <member name="M:VueWebApi.Controllers.ReportManagerController.PeopleSalaryReportSearch(System.Int32,System.Int32,System.String,System.String,System.String,System.String,System.String,System.String,System.String,System.String,System.String,System.String,System.String,System.String,System.String,System.String)"> |
| | | <summary> |
| | | 人åå·¥èµæç»æ¥è¡¨ |
| | | </summary> |
| | | <param name=" wkshopcode">车é´ç¼ç </param> |
| | | <param name="compute">è®¡ç®æ¹å¼(éé/æ«é)</param> |
| | | <param name="wocode">å·¥åç¼å·</param> |
| | | <param name="saleordercode">éå®è®¢åå·</param> |
| | | <param name="partcode">产åç¼ç </param> |
| | | <param name="partname">产ååç§°</param> |
| | | <param name="partspec">è§æ ¼åå·</param> |
| | |
| | | <param name="order">æåºè§å</param> |
| | | <returns></returns> |
| | | </member> |
| | | <member name="M:VueWebApi.Controllers.ReportManagerController.PeopleSalaryReportExcelSearch(System.String,System.String,System.String,System.String,System.String,System.String,System.String,System.String,System.String,System.String,System.String)"> |
| | | <member name="M:VueWebApi.Controllers.ReportManagerController.PeopleSalaryReportExcelSearch(System.String,System.String,System.String,System.String,System.String,System.String,System.String,System.String,System.String,System.String,System.String,System.String)"> |
| | | <summary> |
| | | 人åå·¥èµæç»æ¥è¡¨å¯¼åº |
| | | </summary> |
| | | <param name=" wkshopcode">车é´ç¼ç </param> |
| | | <param name="compute">è®¡ç®æ¹å¼(éé/æ«é)</param> |
| | | <param name="wocode">å·¥åç¼å·</param> |
| | | <param name="saleordercode">éå®è®¢åå·</param> |
| | | <param name="partcode">产åç¼ç </param> |
| | | <param name="partname">产ååç§°</param> |
| | | <param name="partspec">è§æ ¼åå·</param> |
| | |
| | | <param name = "rejectstepcode" > åé¤å·¥åº(åºå®èªèµå·¥åºä¸åä¸è®¡ç®) </param > |
| | | <returns></returns> |
| | | </member> |
| | | <member name="M:VueWebApi.Controllers.ReportManagerController.DefectDetailsReportSearch(System.Int32,System.Int32,System.String,System.String,System.String,System.String,System.String,System.String,System.String,System.String,System.String,System.String,System.String,System.String)"> |
| | | <member name="M:VueWebApi.Controllers.ReportManagerController.DefectDetailsReportSearch(System.Int32,System.Int32,System.String,System.String,System.String,System.String,System.String,System.String,System.String,System.String,System.String,System.String,System.String,System.String,System.String)"> |
| | | <summary> |
| | | ä¸è¯æç»æ¥è¡¨ |
| | | </summary> |
| | | <param name=" wkshopcode">车é´ç¼ç </param> |
| | | <param name="wocode">å·¥åç¼å·</param> |
| | | <param name="saleordercode">éå®è®¢åå·</param> |
| | | <param name="partcode">产åç¼ç </param> |
| | | <param name="partname">产ååç§°</param> |
| | | <param name="partspec">è§æ ¼åå·</param> |
| | |
| | | <param name="order">æåºè§å</param> |
| | | <returns></returns> |
| | | </member> |
| | | <member name="M:VueWebApi.Controllers.ReportManagerController.DefectDetailsReportExcelSearch(System.String,System.String,System.String,System.String,System.String,System.String,System.String,System.String,System.String,System.String)"> |
| | | <member name="M:VueWebApi.Controllers.ReportManagerController.DefectDetailsReportExcelSearch(System.String,System.String,System.String,System.String,System.String,System.String,System.String,System.String,System.String,System.String,System.String)"> |
| | | <summary> |
| | | ä¸è¯æç»æ¥è¡¨å¯¼åº |
| | | </summary> |
| | | <param name=" wkshopcode">车é´ç¼ç </param> |
| | | <param name="wocode">å·¥åç¼å·</param> |
| | | <param name="saleordercode">éå®è®¢åå·</param> |
| | | <param name="partcode">产åç¼ç </param> |
| | | <param name="partname">产ååç§°</param> |
| | | <param name="partspec">è§æ ¼åå·</param> |
| | |
| | | </summary> |
| | | <returns></returns> |
| | | </member> |
| | | <member name="M:VueWebApi.Controllers.ReportManagerController.MaintenanceDetailsReportSearch(System.Int32,System.Int32,System.String,System.String,System.String,System.String,System.String,System.String,System.String,System.String,System.String,System.String,System.String,System.String)"> |
| | | <member name="M:VueWebApi.Controllers.ReportManagerController.MaintenanceDetailsReportSearch(System.Int32,System.Int32,System.String,System.String,System.String,System.String,System.String,System.String,System.String,System.String,System.String,System.String,System.String,System.String,System.String)"> |
| | | <summary> |
| | | ç»´ä¿®æç»æ¥è¡¨ |
| | | </summary> |
| | | <param name="wkshopcode">车é´ç¼å·</param> |
| | | <param name="wocode">å·¥åç¼å·</param> |
| | | <param name="saleordercode">éå®è®¢åå·</param> |
| | | <param name="partcode">产åç¼ç </param> |
| | | <param name="partname">产ååç§°</param> |
| | | <param name="partspec">è§æ ¼åå·</param> |
| | |
| | | <param name="order">æåºè§å</param> |
| | | <returns></returns> |
| | | </member> |
| | | <member name="M:VueWebApi.Controllers.ReportManagerController.MaintenanceDetailsReportExcelSearch(System.String,System.String,System.String,System.String,System.String,System.String,System.String,System.String,System.String,System.String)"> |
| | | <member name="M:VueWebApi.Controllers.ReportManagerController.MaintenanceDetailsReportExcelSearch(System.String,System.String,System.String,System.String,System.String,System.String,System.String,System.String,System.String,System.String,System.String)"> |
| | | <summary> |
| | | ç»´ä¿®æç»æ¥è¡¨å¯¼åº |
| | | </summary> |
| | | <param name="wkshopcode">车é´ç¼å·</param> |
| | | <param name="wocode">å·¥åç¼å·</param> |
| | | <param name="saleordercode">éå®è®¢åå·</param> |
| | | <param name="partcode">产åç¼ç </param> |
| | | <param name="partname">产ååç§°</param> |
| | | <param name="partspec">è§æ ¼åå·</param> |
| | |
| | | <param name="checkid">æ£éªè®°å½ID</param> |
| | | <returns></returns> |
| | | </member> |
| | | <member name="M:VueWebApi.Controllers.ReportManagerController.ProductionScheduleReportSearch(System.Int32,System.Int32,System.String,System.String,System.String,System.String,System.String,System.String,System.String,System.String,System.String,System.String,System.String)"> |
| | | <member name="M:VueWebApi.Controllers.ReportManagerController.ProductionScheduleReportSearch(System.Int32,System.Int32,System.String,System.String,System.String,System.String,System.String,System.String,System.String,System.String,System.String,System.String,System.String,System.String)"> |
| | | <summary> |
| | | ç产è¿åº¦æ¥è¡¨ |
| | | </summary> |
| | | <param name="wkshopcode">车é´ç¼ç </param> |
| | | <param name="status">å·¥åç¶æ</param> |
| | | <param name="wocode">å·¥åç¼å·</param> |
| | | <param name="saleordercode">éå®è®¢åå·</param> |
| | | <param name="routecode">å·¥èºè·¯çº¿ç¼ç </param> |
| | | <param name="routename">å·¥èºè·¯çº¿åç§°</param> |
| | | <param name="partcode">产åç¼ç </param> |
| | |
| | | <param name="order">æåºè§å</param> |
| | | <returns></returns> |
| | | </member> |
| | | <member name="M:VueWebApi.Controllers.ReportManagerController.ProductionScheduleReportExcelSearch(System.String,System.String,System.String,System.String,System.String,System.String,System.String,System.String,System.String)"> |
| | | <member name="M:VueWebApi.Controllers.ReportManagerController.ProductionScheduleReportExcelSearch(System.String,System.String,System.String,System.String,System.String,System.String,System.String,System.String,System.String,System.String)"> |
| | | <summary> |
| | | ç产è¿åº¦æ¥è¡¨å¯¼åº |
| | | </summary> |
| | | <param name="wkshopcode">车é´ç¼ç </param> |
| | | <param name="status">å·¥åç¶æ</param> |
| | | <param name="wocode">å·¥åç¼å·</param> |
| | | <param name="saleordercode">éå®è®¢åå·</param> |
| | | <param name="routecode">å·¥èºè·¯çº¿ç¼ç </param> |
| | | <param name="routename">å·¥èºè·¯çº¿åç§°</param> |
| | | <param name="partcode">产åç¼ç </param> |
| | |
| | | </summary> |
| | | <returns></returns> |
| | | </member> |
| | | <member name="M:VueWebApi.Controllers.ProductionManagementController.MesOrderBitchClosedSearch(System.String,System.String,System.String,System.String,System.String,System.String,System.String,System.String,System.String,System.Int32,System.Int32,System.String,System.String)"> |
| | | <member name="M:VueWebApi.Controllers.ProductionManagementController.MesOrderBitchClosedSearch(System.String,System.String,System.String,System.String,System.String,System.String,System.String,System.String,System.String,System.String,System.Int32,System.Int32,System.String,System.String)"> |
| | | <summary> |
| | | MESå·¥åæ¥è¯¢ |
| | | </summary> |
| | | <param name="mesorderstus">å·¥åç¶æç </param> |
| | | <param name="mesordercode">å·¥åç¼å·</param> |
| | | <param name="sourceorder">æºååå·</param> |
| | | <param name="saleordercode">éå®è®¢åå·</param> |
| | | <param name="ordertype">åæ®ç±»å</param> |
| | | <param name="partcode">产åç¼ç </param> |
| | | <param name="partname">产ååç§°</param> |
| | |
| | | <param name="partcode">ç©æç¼ç </param> |
| | | <returns></returns> |
| | | </member> |
| | | <member name="M:VueWebApi.Controllers.ReportManagerController.OutSourceReportSearch(System.Int32,System.Int32,System.String,System.String,System.String,System.String,System.String,System.String,System.String,System.String,System.String,System.String,System.String)"> |
| | | <member name="M:VueWebApi.Controllers.ReportManagerController.OutSourceReportSearch(System.Int32,System.Int32,System.String,System.String,System.String,System.String,System.String,System.String,System.String,System.String,System.String,System.String,System.String,System.String)"> |
| | | <summary> |
| | | å§å¤æ¥è¡¨è®°å½æ¥è¯¢ |
| | | </summary> |
| | | <param name="wkshopcode">车é´ç¼ç </param> |
| | | <param name="wocode">å·¥åç¼å·</param> |
| | | <param name="saleordercode">éå®è®¢åå·</param> |
| | | <param name="partcode">产åç¼ç </param> |
| | | <param name="partname">产ååç§°</param> |
| | | <param name="partspec">è§æ ¼åå·</param> |
| | |
| | | <param name="order">æåºè§å</param> |
| | | <returns></returns> |
| | | </member> |
| | | <member name="M:VueWebApi.Controllers.ReportManagerController.OutSourceReportExcelSearch(System.String,System.String,System.String,System.String,System.String,System.String,System.String,System.String,System.String)"> |
| | | <member name="M:VueWebApi.Controllers.ReportManagerController.OutSourceReportExcelSearch(System.String,System.String,System.String,System.String,System.String,System.String,System.String,System.String,System.String,System.String)"> |
| | | <summary> |
| | | å§å¤æ¥è¡¨è®°å½å¯¼åº |
| | | </summary> |
| | | <param name="wkshopcode">车é´ç¼ç </param> |
| | | <param name="wocode">å·¥åç¼å·</param> |
| | | <param name="saleordercode">éå®è®¢åå·</param> |
| | | <param name="partcode">产åç¼ç </param> |
| | | <param name="partname">产ååç§°</param> |
| | | <param name="partspec">è§æ ¼åå·</param> |
| | |
| | | <param name="receivdate">æ¶ææ¶é´</param> |
| | | <returns></returns> |
| | | </member> |
| | | <member name="M:VueWebApi.Controllers.ReportManagerController.GroupSalaryReportSearch(System.Int32,System.Int32,System.String,System.String,System.String,System.String,System.String,System.String,System.String,System.String,System.String,System.String,System.String,System.String,System.String)"> |
| | | <member name="M:VueWebApi.Controllers.ReportManagerController.GroupSalaryReportSearch(System.Int32,System.Int32,System.String,System.String,System.String,System.String,System.String,System.String,System.String,System.String,System.String,System.String,System.String,System.String,System.String,System.String)"> |
| | | <summary> |
| | | çç»å·¥èµæ¥è¡¨è®°å½æ¥è¯¢ |
| | | </summary> |
| | | <param name=" wkshopcode">车é´ç¼ç </param> |
| | | <param name="compute">è®¡ç®æ¹å¼(éé/æ«é)</param> |
| | | <param name="wocode">å·¥åç¼å·</param> |
| | | <param name="saleordercode">éå®è®¢åå·</param> |
| | | <param name="partcode">产åç¼ç </param> |
| | | <param name="partname">产ååç§°</param> |
| | | <param name="partspec">è§æ ¼åå·</param> |
| | |
| | | <param name="id">æ¥å·¥è®°å½ä¸»è¡¨id</param> |
| | | <returns></returns> |
| | | </member> |
| | | <member name="M:VueWebApi.Controllers.ReportManagerController.GroupSalaryReportExcelSearch(System.String,System.String,System.String,System.String,System.String,System.String,System.String,System.String,System.String,System.String,System.String)"> |
| | | <member name="M:VueWebApi.Controllers.ReportManagerController.GroupSalaryReportExcelSearch(System.String,System.String,System.String,System.String,System.String,System.String,System.String,System.String,System.String,System.String,System.String,System.String)"> |
| | | <summary> |
| | | çç»å·¥èµæ¥è¡¨è®°å½æ¥è¯¢ |
| | | </summary> |
| | | <param name=" wkshopcode">车é´ç¼ç </param> |
| | | <param name="compute">è®¡ç®æ¹å¼(éé/æ«é)</param> |
| | | <param name="wocode">å·¥åç¼å·</param> |
| | | <param name="saleordercode">éå®è®¢åå·</param> |
| | | <param name="partcode">产åç¼ç </param> |
| | | <param name="partname">产ååç§°</param> |
| | | <param name="partspec">è§æ ¼åå·</param> |
| | |
| | | <param name="rejectstepcode">åé¤å·¥åº(åºå®èªèµå·¥åºä¸åä¸è®¡ç®)</param> |
| | | <returns></returns> |
| | | </member> |
| | | <member name="M:VueWebApi.Controllers.ReportManagerController.PeopleSalaryReportSearch(System.Int32,System.Int32,System.String,System.String,System.String,System.String,System.String,System.String,System.String,System.String,System.String,System.String,System.String,System.String,System.String)"> |
| | | <member name="M:VueWebApi.Controllers.ReportManagerController.PeopleSalaryReportSearch(System.Int32,System.Int32,System.String,System.String,System.String,System.String,System.String,System.String,System.String,System.String,System.String,System.String,System.String,System.String,System.String,System.String)"> |
| | | <summary> |
| | | 人åå·¥èµæç»æ¥è¡¨ |
| | | </summary> |
| | | <param name=" wkshopcode">车é´ç¼ç </param> |
| | | <param name="compute">è®¡ç®æ¹å¼(éé/æ«é)</param> |
| | | <param name="wocode">å·¥åç¼å·</param> |
| | | <param name="saleordercode">éå®è®¢åå·</param> |
| | | <param name="partcode">产åç¼ç </param> |
| | | <param name="partname">产ååç§°</param> |
| | | <param name="partspec">è§æ ¼åå·</param> |
| | |
| | | <param name="order">æåºè§å</param> |
| | | <returns></returns> |
| | | </member> |
| | | <member name="M:VueWebApi.Controllers.ReportManagerController.PeopleSalaryReportExcelSearch(System.String,System.String,System.String,System.String,System.String,System.String,System.String,System.String,System.String,System.String,System.String)"> |
| | | <member name="M:VueWebApi.Controllers.ReportManagerController.PeopleSalaryReportExcelSearch(System.String,System.String,System.String,System.String,System.String,System.String,System.String,System.String,System.String,System.String,System.String,System.String)"> |
| | | <summary> |
| | | 人åå·¥èµæç»æ¥è¡¨å¯¼åº |
| | | </summary> |
| | | <param name=" wkshopcode">车é´ç¼ç </param> |
| | | <param name="compute">è®¡ç®æ¹å¼(éé/æ«é)</param> |
| | | <param name="wocode">å·¥åç¼å·</param> |
| | | <param name="saleordercode">éå®è®¢åå·</param> |
| | | <param name="partcode">产åç¼ç </param> |
| | | <param name="partname">产ååç§°</param> |
| | | <param name="partspec">è§æ ¼åå·</param> |
| | |
| | | <param name = "rejectstepcode" > åé¤å·¥åº(åºå®èªèµå·¥åºä¸åä¸è®¡ç®) </param > |
| | | <returns></returns> |
| | | </member> |
| | | <member name="M:VueWebApi.Controllers.ReportManagerController.DefectDetailsReportSearch(System.Int32,System.Int32,System.String,System.String,System.String,System.String,System.String,System.String,System.String,System.String,System.String,System.String,System.String,System.String)"> |
| | | <member name="M:VueWebApi.Controllers.ReportManagerController.DefectDetailsReportSearch(System.Int32,System.Int32,System.String,System.String,System.String,System.String,System.String,System.String,System.String,System.String,System.String,System.String,System.String,System.String,System.String)"> |
| | | <summary> |
| | | ä¸è¯æç»æ¥è¡¨ |
| | | </summary> |
| | | <param name=" wkshopcode">车é´ç¼ç </param> |
| | | <param name="wocode">å·¥åç¼å·</param> |
| | | <param name="saleordercode">éå®è®¢åå·</param> |
| | | <param name="partcode">产åç¼ç </param> |
| | | <param name="partname">产ååç§°</param> |
| | | <param name="partspec">è§æ ¼åå·</param> |
| | |
| | | <param name="order">æåºè§å</param> |
| | | <returns></returns> |
| | | </member> |
| | | <member name="M:VueWebApi.Controllers.ReportManagerController.DefectDetailsReportExcelSearch(System.String,System.String,System.String,System.String,System.String,System.String,System.String,System.String,System.String,System.String)"> |
| | | <member name="M:VueWebApi.Controllers.ReportManagerController.DefectDetailsReportExcelSearch(System.String,System.String,System.String,System.String,System.String,System.String,System.String,System.String,System.String,System.String,System.String)"> |
| | | <summary> |
| | | ä¸è¯æç»æ¥è¡¨å¯¼åº |
| | | </summary> |
| | | <param name=" wkshopcode">车é´ç¼ç </param> |
| | | <param name="wocode">å·¥åç¼å·</param> |
| | | <param name="saleordercode">éå®è®¢åå·</param> |
| | | <param name="partcode">产åç¼ç </param> |
| | | <param name="partname">产ååç§°</param> |
| | | <param name="partspec">è§æ ¼åå·</param> |
| | |
| | | </summary> |
| | | <returns></returns> |
| | | </member> |
| | | <member name="M:VueWebApi.Controllers.ReportManagerController.MaintenanceDetailsReportSearch(System.Int32,System.Int32,System.String,System.String,System.String,System.String,System.String,System.String,System.String,System.String,System.String,System.String,System.String,System.String)"> |
| | | <member name="M:VueWebApi.Controllers.ReportManagerController.MaintenanceDetailsReportSearch(System.Int32,System.Int32,System.String,System.String,System.String,System.String,System.String,System.String,System.String,System.String,System.String,System.String,System.String,System.String,System.String)"> |
| | | <summary> |
| | | ç»´ä¿®æç»æ¥è¡¨ |
| | | </summary> |
| | | <param name="wkshopcode">车é´ç¼å·</param> |
| | | <param name="wocode">å·¥åç¼å·</param> |
| | | <param name="saleordercode">éå®è®¢åå·</param> |
| | | <param name="partcode">产åç¼ç </param> |
| | | <param name="partname">产ååç§°</param> |
| | | <param name="partspec">è§æ ¼åå·</param> |
| | |
| | | <param name="order">æåºè§å</param> |
| | | <returns></returns> |
| | | </member> |
| | | <member name="M:VueWebApi.Controllers.ReportManagerController.MaintenanceDetailsReportExcelSearch(System.String,System.String,System.String,System.String,System.String,System.String,System.String,System.String,System.String,System.String)"> |
| | | <member name="M:VueWebApi.Controllers.ReportManagerController.MaintenanceDetailsReportExcelSearch(System.String,System.String,System.String,System.String,System.String,System.String,System.String,System.String,System.String,System.String,System.String)"> |
| | | <summary> |
| | | ç»´ä¿®æç»æ¥è¡¨å¯¼åº |
| | | </summary> |
| | | <param name="wkshopcode">车é´ç¼å·</param> |
| | | <param name="wocode">å·¥åç¼å·</param> |
| | | <param name="saleordercode">éå®è®¢åå·</param> |
| | | <param name="partcode">产åç¼ç </param> |
| | | <param name="partname">产ååç§°</param> |
| | | <param name="partspec">è§æ ¼åå·</param> |
| | |
| | | <param name="checkid">æ£éªè®°å½ID</param> |
| | | <returns></returns> |
| | | </member> |
| | | <member name="M:VueWebApi.Controllers.ReportManagerController.ProductionScheduleReportSearch(System.Int32,System.Int32,System.String,System.String,System.String,System.String,System.String,System.String,System.String,System.String,System.String,System.String,System.String)"> |
| | | <member name="M:VueWebApi.Controllers.ReportManagerController.ProductionScheduleReportSearch(System.Int32,System.Int32,System.String,System.String,System.String,System.String,System.String,System.String,System.String,System.String,System.String,System.String,System.String,System.String)"> |
| | | <summary> |
| | | ç产è¿åº¦æ¥è¡¨ |
| | | </summary> |
| | | <param name="wkshopcode">车é´ç¼ç </param> |
| | | <param name="status">å·¥åç¶æ</param> |
| | | <param name="wocode">å·¥åç¼å·</param> |
| | | <param name="saleordercode">éå®è®¢åå·</param> |
| | | <param name="routecode">å·¥èºè·¯çº¿ç¼ç </param> |
| | | <param name="routename">å·¥èºè·¯çº¿åç§°</param> |
| | | <param name="partcode">产åç¼ç </param> |
| | |
| | | <param name="order">æåºè§å</param> |
| | | <returns></returns> |
| | | </member> |
| | | <member name="M:VueWebApi.Controllers.ReportManagerController.ProductionScheduleReportExcelSearch(System.String,System.String,System.String,System.String,System.String,System.String,System.String,System.String,System.String)"> |
| | | <member name="M:VueWebApi.Controllers.ReportManagerController.ProductionScheduleReportExcelSearch(System.String,System.String,System.String,System.String,System.String,System.String,System.String,System.String,System.String,System.String)"> |
| | | <summary> |
| | | ç产è¿åº¦æ¥è¡¨å¯¼åº |
| | | </summary> |
| | | <param name="wkshopcode">车é´ç¼ç </param> |
| | | <param name="status">å·¥åç¶æ</param> |
| | | <param name="wocode">å·¥åç¼å·</param> |
| | | <param name="saleordercode">éå®è®¢åå·</param> |
| | | <param name="routecode">å·¥èºè·¯çº¿ç¼ç </param> |
| | | <param name="routename">å·¥èºè·¯çº¿åç§°</param> |
| | | <param name="partcode">产åç¼ç </param> |
| | |
| | | </summary> |
| | | <returns></returns> |
| | | </member> |
| | | <member name="M:VueWebApi.Controllers.ProductionManagementController.MesOrderBitchClosedSearch(System.String,System.String,System.String,System.String,System.String,System.String,System.String,System.String,System.String,System.Int32,System.Int32,System.String,System.String)"> |
| | | <member name="M:VueWebApi.Controllers.ProductionManagementController.MesOrderBitchClosedSearch(System.String,System.String,System.String,System.String,System.String,System.String,System.String,System.String,System.String,System.String,System.Int32,System.Int32,System.String,System.String)"> |
| | | <summary> |
| | | MESå·¥åæ¥è¯¢ |
| | | </summary> |
| | | <param name="mesorderstus">å·¥åç¶æç </param> |
| | | <param name="mesordercode">å·¥åç¼å·</param> |
| | | <param name="sourceorder">æºååå·</param> |
| | | <param name="saleordercode">éå®è®¢åå·</param> |
| | | <param name="ordertype">åæ®ç±»å</param> |
| | | <param name="partcode">产åç¼ç </param> |
| | | <param name="partname">产ååç§°</param> |
| | |
| | | D:\æ°å¯è¿ªMES\MES项ç®\MESæ£æ¸
æ²³\VueWebApi\VueWebApi\bin\zh-Hans\System.Web.WebPages.resources.dll |
| | | D:\æ°å¯è¿ªMES\MES项ç®\MESæ£æ¸
æ²³\VueWebApi\VueWebApi\bin\zh-Hans\System.Web.WebPages.Deployment.resources.dll |
| | | D:\æ°å¯è¿ªMES\MES项ç®\MESæ£æ¸
æ²³\VueWebApi\VueWebApi\bin\zh-Hans\System.Web.WebPages.Razor.resources.dll |
| | | D:\æ°å¯è¿ªMES\MES项ç®\MESæ£æ¸
æ²³\VueWebApi\VueWebApi\obj\Release\VueWebApi.csproj.AssemblyReference.cache |
| | | D:\æ°å¯è¿ªMES\MES项ç®\MESæ£æ¸
æ²³\VueWebApi\VueWebApi\obj\Release\VueWebApi.csproj.CoreCompileInputs.cache |
| | | D:\æ°å¯è¿ªMES\MES项ç®\MESæ£æ¸
æ²³\VueWebApi\VueWebApi\obj\Release\VueWebApi.csproj.CopyComplete |
| | | D:\æ°å¯è¿ªMES\MES项ç®\MESæ£æ¸
æ²³\VueWebApi\VueWebApi\obj\Release\VueWebApi.dll |