From 54ed49030fce5baec77d21f1349c235cd097d80b Mon Sep 17 00:00:00 2001 From: duhe <226547893@qq.com> Date: 星期四, 07 九月 2023 14:09:27 +0800 Subject: [PATCH] 项目阶段汇报:增加HProjectID字段、设置源单信息 --- WebAPI/Controllers/WebAPIController.cs | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/WebAPI/Controllers/WebAPIController.cs b/WebAPI/Controllers/WebAPIController.cs index af3e59b..aab08d2 100644 --- a/WebAPI/Controllers/WebAPIController.cs +++ b/WebAPI/Controllers/WebAPIController.cs @@ -3668,7 +3668,7 @@ /// <returns></returns> [Route("Web/GetCheckItemByCheckProjectID")] [HttpGet] - public object GetCheckItemByCheckProjectID(int CheckProjectID) + public object GetCheckItemByCheckProjectID(int CheckProjectID,int HBatchQty) { if (CheckProjectID <= 0) { @@ -3681,8 +3681,8 @@ try { SQLHelper.ClsCN oCN = new SQLHelper.ClsCN(); - string sql = "select * from h_v_Gy_GetQCCheckItemByProject where hmainid = " + CheckProjectID; - ds = oCN.RunProcReturn(sql, "Gy_QCCheckProjectMain"); + string sql = "exec h_p_Gy_GetQCCheckItemByProject " + CheckProjectID + "," + HBatchQty; + ds = oCN.RunProcReturn(sql, "h_p_Gy_GetQCCheckItemByProject"); if (ds == null || ds.Tables[0].Rows.Count <= 0) { objjson.code = "0"; -- Gitblit v1.9.1