From e8eed61d8b70215766a4e5c226e10d2f0d28ff95 Mon Sep 17 00:00:00 2001
From: yl <ykxkd@outlook.com>
Date: 星期六, 04 三月 2023 11:31:40 +0800
Subject: [PATCH] 1.工单派发选择工艺路线或选择生产车间时判断绑定条件接口开发 2.组织架构删除update改为delete 3.工艺路线新增else if改为if 4.节拍工价根据工序线编码查找关联设备集合 5.PC/APP工资报表
---
VueWebApi/Controllers/AppQualityManagementController.cs | 34 +++++++++++++++++++++++++++++++++-
1 files changed, 33 insertions(+), 1 deletions(-)
diff --git a/VueWebApi/Controllers/AppQualityManagementController.cs b/VueWebApi/Controllers/AppQualityManagementController.cs
index d222345..2505b0e 100644
--- a/VueWebApi/Controllers/AppQualityManagementController.cs
+++ b/VueWebApi/Controllers/AppQualityManagementController.cs
@@ -1,8 +1,10 @@
-锘縰sing System;
+锘縰sing Newtonsoft.Json.Linq;
+using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Http;
+using System.Web;
using System.Web.Http;
using VueWebApi.DLL.BLL;
using VueWebApi.Tools;
@@ -48,5 +50,35 @@
}
#endregion
+ #region[鍏ュ巶妫�楠�,鎻愪氦]
+ /// <summary>
+ /// 鍏ュ巶妫�楠�,鎻愪氦
+ /// </summary>
+ /// <returns></returns>
+ [Route(template: "InFactoryCheckSave")]
+ [HttpGet]
+ public HttpResponseMessage InFactoryCheckSave()
+ {
+ string hbillno = HttpContext.Current.Request["hbillno"].ToString();//閲囪喘璁㈠崟鍙�
+ string labcode = HttpContext.Current.Request["labcode"].ToString();//鏍囩缂栧彿
+ string checkstandcode = HttpContext.Current.Request["checkstandcode"].ToString();//璐ㄦ鏂规缂栫爜
+ string check_type = HttpContext.Current.Request["check_type"].ToString();//妫�楠岀被鍨�(鍏ュ巶妫�楠�(InCheck))
+ string sampmethod = HttpContext.Current.Request["sampmethod"].ToString();//鎶芥鏂瑰紡锛氬浐瀹氭娊妫�(FIXED) 姣斾緥鎶芥(SCARE)
+ string partcode = HttpContext.Current.Request["partcode"].ToString();//鐗╂枡缂栫爜
+ string customercode = HttpContext.Current.Request["customercode"].ToString();//寰�鏉ュ崟浣�(澶栬喘渚涙柟缂栫爜)
+ string batchno = HttpContext.Current.Request["batchno"].ToString();//鎵规鍙�
+ string qualitystatus = HttpContext.Current.Request["qualitystatus "].ToString(); //璐ㄩ噺鐘舵��(鍚堟牸銆佷笉鍚堟牸)
+ string labqty = HttpContext.Current.Request["labqty"].ToString();//鐗╂枡鏁伴噺(鏍囩鏁伴噺)
+ string sampleqty = HttpContext.Current.Request["sampleqty"].ToString();//鏍锋湰鏁伴噺
+ string goodqty = HttpContext.Current.Request["goodqty"].ToString();//鍚堟牸鏁伴噺
+ string ngqty = HttpContext.Current.Request["ngqty"].ToString();//涓嶅悎鏍兼暟閲�
+ string issyncbatch = HttpContext.Current.Request["issyncbatch"].ToString();//鍚屾鐩稿悓鎵规
+ string checkitemcont = HttpContext.Current.Request["checkitemcont"].ToString();//妫�楠岄」鐩暟鎹�
+ string username = HttpContext.Current.Request["admin"].ToString();//鎿嶄綔浜哄憳
+ mes = AppQualityManagementBLL.InFactoryCheckSave(hbillno, labcode, checkstandcode, check_type, sampmethod, partcode, customercode, batchno, qualitystatus, labqty, sampleqty, goodqty, ngqty, issyncbatch, checkitemcont, username);
+ return TJson.toJson(mes);
+ }
+ #endregion
+
}
}
--
Gitblit v1.9.3