From 2977cb0cfaffa435460cad5a0b7d191356c6bc72 Mon Sep 17 00:00:00 2001 From: yangle <admin@YINMOU> Date: 星期二, 23 四月 2024 09:53:56 +0800 Subject: [PATCH] 当前工单(赋码汇报) 工序单品过站 追溯报表 配件清单查询 --- WebAPI/Controllers/应收管理/YS_ReceiveReportController.cs | 23 +++++++++++++++++++++-- 1 files changed, 21 insertions(+), 2 deletions(-) diff --git "a/WebAPI/Controllers/\345\272\224\346\224\266\347\256\241\347\220\206/YS_ReceiveReportController.cs" "b/WebAPI/Controllers/\345\272\224\346\224\266\347\256\241\347\220\206/YS_ReceiveReportController.cs" index 39ef7e1..34da253 100644 --- "a/WebAPI/Controllers/\345\272\224\346\224\266\347\256\241\347\220\206/YS_ReceiveReportController.cs" +++ "b/WebAPI/Controllers/\345\272\224\346\224\266\347\256\241\347\220\206/YS_ReceiveReportController.cs" @@ -27,10 +27,20 @@ /// <returns></returns> [Route("YS_ReceiveReportController/GetYS_CusShouldIncomeReport_Json")] [HttpGet] - public object GetYS_CusShouldIncomeReport_Json(string sWhere) + public object GetYS_CusShouldIncomeReport_Json(string sWhere, string user) { try { + if (!DBUtility.ClsPub.Security_Log("YS_CusShouldIncomeReport", 1, false, user)) + { + objJsonResult.code = "0"; + objJsonResult.count = 0; + objJsonResult.Message = "鏃犳煡鐪嬫潈闄愶紒"; + objJsonResult.data = null; + return objJsonResult; + } + + ds = oCn.RunProcReturn("exec h_p_YS_CusShouldIncomeReport " + sWhere, "h_p_YS_CusShouldIncomeReport"); List<object> columnNameList = new List<object>(); //娣诲姞鍒楀悕 @@ -65,10 +75,19 @@ /// <returns></returns> [Route("YS_ReceiveReportController/GetYS_CusShouldIncomeEntryReport_Json")] [HttpGet] - public object GetYS_CusShouldIncomeEntryReport_Json(string sWhere) + public object GetYS_CusShouldIncomeEntryReport_Json(string sWhere, string user) { try { + if (!DBUtility.ClsPub.Security_Log("YS_CusShouldIncomeEntryReport", 1, false, user)) + { + objJsonResult.code = "0"; + objJsonResult.count = 0; + objJsonResult.Message = "鏃犳煡鐪嬫潈闄愶紒"; + objJsonResult.data = null; + return objJsonResult; + } + ds = oCn.RunProcReturn("exec h_p_YS_CusShouldIncomeEntryReport " + sWhere, "h_p_YS_CusShouldIncomeEntryReport"); List<object> columnNameList = new List<object>(); //娣诲姞鍒楀悕 -- Gitblit v1.9.1