public IHttpActionResult QueryDailyYieldAPI(ReportDataSearch searchModel) { if (searchModel.FunPlant == "关键制程") { searchModel.FunPlant = "Report_Key_Process"; } var process = ProductDataService.QueryDailyYield(searchModel); return(Ok(process)); }
public IHttpActionResult QueryTimeSpanReport(ReportDataSearch searchModel) { if (searchModel.Select_Type == "monthly") { var process = ProductDataService.QueryTimeSpanReport(searchModel); return(Ok(process)); } else { var process = ProductDataService.QueryTimeSpanReport_2(searchModel); return(Ok(process)); } }
public IHttpActionResult QueryDailyDataAPI(ReportDataSearch searchModel) { if (searchModel.FunPlant == "关键制程") { searchModel.FunPlant = "Report_Key_Process"; } if (searchModel.FunPlant == "Key Process") { searchModel.FunPlant = "Report_Key_Process"; } searchModel.Interval_Date_Start = searchModel.Reference_Date; searchModel.Interval_Date_End = searchModel.Reference_Date; var process = ProductDataService.QueryTChartDailyData(searchModel); return(Ok(process)); }
public IHttpActionResult QueryWeekReport(ReportDataSearch searchModel) { var process = ProductDataService.QueryWeekReport(searchModel); return(Ok(process)); }