From ee546e514efa0951bd5b309e2d54dbe53a488c74 Mon Sep 17 00:00:00 2001
From: yl <ykxkd@outlook.com>
Date: 星期一, 22 五月 2023 16:31:49 +0800
Subject: [PATCH] 1.app生产进度看板接口开发 2.app工序检验接口开发 3.存货档案基础资料查询接口开发 4.PC工序检验接口调整

---
 VueWebApi/Controllers/AppQualityManagementController.cs |   61 ++++++++++++++++++++++++++++++
 1 files changed, 61 insertions(+), 0 deletions(-)

diff --git a/VueWebApi/Controllers/AppQualityManagementController.cs b/VueWebApi/Controllers/AppQualityManagementController.cs
index a2a1601..9c9410a 100644
--- a/VueWebApi/Controllers/AppQualityManagementController.cs
+++ b/VueWebApi/Controllers/AppQualityManagementController.cs
@@ -7,6 +7,7 @@
 using System.Web;
 using System.Web.Http;
 using VueWebApi.DLL.BLL;
+using VueWebApi.Models;
 using VueWebApi.Tools;
 
 namespace VueWebApi.Controllers
@@ -80,5 +81,65 @@
         }
         #endregion
 
+
+
+        #region[宸ュ簭妫�楠屾壂鐮佽幏鍙栦换鍔′俊鎭痌
+        /// <summary>
+        /// 宸ュ簭妫�楠屾壂鐮佽幏鍙栦换鍔′俊鎭�
+        /// </summary>
+        /// <param name="orderstepqrcode">鎵弿宸ュ簭浜岀淮鐮佷俊鎭�</param>
+        /// <param name="checktype">妫�楠屾柟寮廎irstCheck锛堥妫�锛� PatroCheck(宸℃)  EndCheck(瀹屽伐妫�)</param>
+        /// <returns></returns>
+        [Route(template: "StepCheckSearch")]
+        [HttpGet]
+        public HttpResponseMessage StepCheckSearch(string orderstepqrcode,string checktype)
+        {
+            mes = ProductionManagementBLL.MesOrderStepCheckSearch(orderstepqrcode, checktype);
+            return TJson.toJson(mes);
+        }
+        #endregion
+
+        #region[宸ュ簭妫�楠屾牴鎹�夋嫨鐨勬楠屾柟妗堟煡鎵炬楠岄」鐩甝
+        /// <summary>
+        /// 鍏ュ巶妫�楠�,宸ュ簭妫�楠屾牴鎹�夋嫨鐨勬楠屾柟妗堟煡鎵炬楠岄」鐩�
+        /// </summary>
+        /// <param name="checkstandcode">妫�楠屾柟妗堢紪鐮�</param>
+        /// <returns></returns>
+        [Route(template: "StepCheckItemList")]
+        [HttpGet]
+        public HttpResponseMessage StepCheckItemList(string checkstandcode)
+        {
+            mes = ProductionManagementBLL.MesOrderStepCheckItemList(checkstandcode);
+            return TJson.toJson(mes);
+        }
+        #endregion
+
+        #region[宸ュ簭妫�楠�,鎻愪氦]
+        /// <summary>
+        /// 宸ュ簭妫�楠�,鎻愪氦
+        /// </summary>
+        /// <returns></returns>
+        [Route(template: "SaveStepCheckItem")]
+        [HttpPost]
+        public HttpResponseMessage SaveStepCheckItem()
+        {
+            string wocode = HttpContext.Current.Request["wocode"].ToString();//宸ュ崟鍙�
+            string partcode = HttpContext.Current.Request["partcode"].ToString();//鐗╂枡缂栫爜
+            string stepcode = HttpContext.Current.Request["stepcode"].ToString();//宸ュ簭缂栫爜
+            string checkstandcode = HttpContext.Current.Request["checkstandcode"].ToString();//璐ㄦ鏂规缂栫爜
+            string check_type = HttpContext.Current.Request["check_type"].ToString();//妫�楠屾柟寮廎irstCheck锛堥妫�锛� PatroCheck(宸℃)  EndCheck(瀹屽伐妫�)
+            string sampmethod = HttpContext.Current.Request["sampmethod"].ToString();//鎶芥鏂瑰紡锛氬浐瀹氭娊妫�(FIXED) 姣斾緥鎶芥(SCARE)
+            string qualitystatus = HttpContext.Current.Request["qualitystatus"].ToString(); //璐ㄩ噺鐘舵��(鍚堟牸銆佷笉鍚堟牸)
+            string labqty = HttpContext.Current.Request["good_qty"].ToString();//宸ュ簭浠诲姟鍚堟牸鏁伴噺
+            string sampleqty = HttpContext.Current.Request["sampleqty"].ToString();//鏍锋湰鏁伴噺
+            string goodqty = HttpContext.Current.Request["goodqty"].ToString();//鍚堟牸鏁伴噺
+            string ngqty = HttpContext.Current.Request["ngqty"].ToString();//涓嶅悎鏍兼暟閲�
+            string checkitemcont = HttpContext.Current.Request["checkitemcont"].ToString();//妫�楠岄」鐩暟鎹�
+            string username = HttpContext.Current.Request["admin"].ToString();//鎿嶄綔浜哄憳
+            mes = ProductionManagementBLL.SaveMesOrderStepCheckItem(wocode, checkstandcode, check_type, sampmethod, partcode, qualitystatus, labqty, sampleqty, goodqty, ngqty, checkitemcont, username);
+            return TJson.toJson(mes);
+        }
+        #endregion
+
     }
 }

--
Gitblit v1.9.3