public IHttpActionResult QueryQAInputDataAPI(dynamic data) { var jsonData = data.ToString(); var conditionModel = JsonConvert.DeserializeObject <CheckPointInputConditionModel>(jsonData); var time = EventReportManagerService.GetIntervalInfo("OP1"); var result = QualityService.QueryQAMasterData(conditionModel, DateTime.Parse(time.NowDate), time.Time_Interval); return(Ok(result)); }
public IHttpActionResult GetIntervalInfoAPI(string opType) { var entity = EventReportManagerService.GetIntervalInfo(opType); return(Ok(entity)); }