From 9977eaff9afe000abdf11abb63d7c6a416169d1b Mon Sep 17 00:00:00 2001 From: zrg <z18737863051@163.com> Date: 星期一, 10 三月 2025 13:25:51 +0800 Subject: [PATCH] 生产资源,生产班组,不良原因,故障原因(登记单用到) ,岗位,不良后果,不良类型,岗位技能,处理方案(安灯处理单),工艺参数,故障类别,不良现象,防错装置,保养级别,启动检查项目,环境检测项目,工艺参数分类,工作中心,工序 增加保存前控制存储过程,保存后控制存储过程,审核前控制,审核后控制,禁用前控制,禁用后控制,删除前控制,删除后控制; --- WebAPI/Controllers/XSGL/Kf_SellOutEntryReportController.cs | 22 +++++++++++++--------- 1 files changed, 13 insertions(+), 9 deletions(-) diff --git a/WebAPI/Controllers/XSGL/Kf_SellOutEntryReportController.cs b/WebAPI/Controllers/XSGL/Kf_SellOutEntryReportController.cs index fa22447..a13da08 100644 --- a/WebAPI/Controllers/XSGL/Kf_SellOutEntryReportController.cs +++ b/WebAPI/Controllers/XSGL/Kf_SellOutEntryReportController.cs @@ -37,15 +37,16 @@ try { List<object> columnNameList = new List<object>(); + List<DataTable> tableList = new List<DataTable>(); ////鏌ョ湅鏉冮檺 - //if (!DBUtility.ClsPub.Security_Log("Kf_SellOutEntryReport_Query", 1, false, user)) - //{ - // objJsonResult.code = "0"; - // objJsonResult.count = 0; - // objJsonResult.Message = "鏃犳煡鐪嬫潈闄愶紒"; - // objJsonResult.data = null; - // return objJsonResult; - //} + if (!DBUtility.ClsPub.Security_Log("Kf_SellOutEntryReport", 1, false, user)) + { + objJsonResult.code = "0"; + objJsonResult.count = 0; + objJsonResult.Message = "鏃犳煡鐪嬫潈闄愶紒"; + objJsonResult.data = null; + return objJsonResult; + } //鏌ヨ @@ -60,6 +61,9 @@ ds = oCN.RunProcReturn(sql, "h_p_Kf_SellOutEntryReport"); } + tableList.Add(ds.Tables[0]); + tableList.Add(ds.Tables[1]); + //娣诲姞鍒楀悕 foreach (DataColumn col in ds.Tables[0].Columns) { @@ -71,7 +75,7 @@ objJsonResult.code = "1"; objJsonResult.count = 1; objJsonResult.Message = "Sucess锛�"; - objJsonResult.data = ds.Tables[0]; + objJsonResult.data = tableList; objJsonResult.list = columnNameList; return objJsonResult; } -- Gitblit v1.9.1