| | |
| | | } |
| | | #endregion |
| | | |
| | | #region 缺æåææ¥è¡¨ |
| | | public class MaterialShorAnalysis |
| | | { |
| | | public int? HORGID; |
| | | public DateTime HBEGINDATE; |
| | | public DateTime HENDDATE; |
| | | } |
| | | [Route("JIT_DayPlanPlatFormBill/MaterialShorAnalysisReport")] |
| | | [HttpGet] |
| | | public object MaterialShorAnalysisReport(string sWhere) |
| | | { |
| | | try |
| | | { |
| | | MaterialShorAnalysis Report = JsonConvert.DeserializeObject<MaterialShorAnalysis>(sWhere); |
| | | |
| | | ds = oCN.RunProcReturn($"exec h_p_JIT_MaterialShorAnalysisReportList {Report.HORGID},'{Report.HBEGINDATE}','{Report.HENDDATE}' ", "h_p_JIT_PODemandPlanBill_ReportList"); |
| | | |
| | | objJsonResult.code = "1"; |
| | | objJsonResult.count = 1; |
| | | objJsonResult.Message = "Sucessï¼"; |
| | | objJsonResult.data = ds.Tables[0]; |
| | | return objJsonResult; |
| | | } |
| | | catch (Exception e) |
| | | { |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 0; |
| | | objJsonResult.Message = "Exceptionï¼" + e.ToString(); |
| | | objJsonResult.data = null; |
| | | return objJsonResult; |
| | | } |
| | | } |
| | | #endregion |
| | | |
| | | } |
| | | } |