From 301936d643fe804b52b397dc594877d8d3cbe202 Mon Sep 17 00:00:00 2001
From: yl <ykxkd@outlook.com>
Date: 星期二, 07 三月 2023 07:55:41 +0800
Subject: [PATCH] MES报废补单选源单接口
---
VueWebApi/DLL/BLL/ProductionManagementBLL.cs | 47 ++++++++++++++++++++++++++++++++++++++++++++---
1 files changed, 44 insertions(+), 3 deletions(-)
diff --git a/VueWebApi/DLL/BLL/ProductionManagementBLL.cs b/VueWebApi/DLL/BLL/ProductionManagementBLL.cs
index 3c56a76..3ae8039 100644
--- a/VueWebApi/DLL/BLL/ProductionManagementBLL.cs
+++ b/VueWebApi/DLL/BLL/ProductionManagementBLL.cs
@@ -41,6 +41,13 @@
}
#endregion
+ #region[MES鎶ュ簾琛ュ崟宸ュ崟鏌ヨ]
+ public static ToMessage MesBadOrderSearch(string mesordercode, string sourceorder, string partcode, string partname, string partspec, int startNum, string creatuser, string createdate, int endNum, string prop, string order)
+ {
+ return ProductionManagementDAL.MesBadOrderSearch(mesordercode, sourceorder, partcode, partname, partspec, startNum, creatuser, createdate, endNum, prop, order);
+ }
+ #endregion
+
#region[浜у搧缂栫爜鏌ユ壘宸ヨ壓璺嚎涓嬫媺鎺ュ彛]
public static ToMessage PartSelectRoute(string partcode)
{
@@ -59,6 +66,13 @@
public static ToMessage SelectRouteStep(string routecode)
{
return ProductionManagementDAL.SelectRouteStep(routecode);
+ }
+ #endregion
+
+ #region[宸ュ崟娲惧彂閫夋嫨宸ヨ壓璺嚎鎴栭�夋嫨鐢熶骇杞﹂棿鏃跺垽鏂粦瀹氭潯浠禲
+ public static ToMessage SelectRouteOrWkshop(string partcode, string routecode, string wkshopcode)
+ {
+ return ProductionManagementDAL.SelectRouteOrWkshop(partcode, routecode, wkshopcode);
}
#endregion
@@ -90,6 +104,12 @@
}
#endregion
+ #region[MES宸ュ崟宸ュ簭浠诲姟鏌ョ湅SOP,鑾峰彇SOP鏂囦欢涓嬫媺鍒楄〃]
+ public static ToMessage SearchWorkStepSopList(string partcode, string routecode,string stepcode)
+ {
+ return ProductionManagementDAL.SearchWorkStepSopList(partcode,routecode,stepcode);
+ }
+ #endregion
@@ -236,16 +256,37 @@
#region[鐢熶骇绠$悊,淇敼鎶ュ伐鏁版嵁鏌ヨ鎺ュ彛]
- public static ToMessage MesOrderStepVerifySearch(string reporttype, string wo_code, string partnumber, string partname, string partspec, string reportuser, string reportdateopendate, string reportdateclosedate, int startNum, int endNum, string prop, string order)
+ public static ToMessage MesOrderStepVerifySearch(string verify, string wo_code, string partnumber, string partname, string partspec, string reportuser, string reportdateopendate, string reportdateclosedate, int startNum, int endNum, string prop, string order)
{
- return ProductionManagementDAL.MesOrderStepVerifySearch(reporttype, wo_code, partnumber, partname, partspec, reportuser, reportdateopendate, reportdateclosedate, startNum, endNum, prop, order);
+ return ProductionManagementDAL.MesOrderStepVerifySearch(verify, wo_code, partnumber, partname, partspec, reportuser, reportdateopendate, reportdateclosedate, startNum, endNum, prop, order);
}
#endregion
#region[鐢熶骇绠$悊,淇敼鎶ュ伐鏁版嵁鎻愪氦]
+ public static ToMessage MesOrderStepUpdateSeave(string username, List<UpdateProductReport> json)
+ {
+ return ProductionManagementDAL.MesOrderStepUpdateSeave(username, json);
+ }
+ #endregion
+
+ #region[鐢熶骇绠$悊,淇敼鎶ュ伐瀹℃牳鎻愪氦]
public static ToMessage MesOrderStepVerifySeave(string username, List<UpdateProductReport> json)
{
- return ProductionManagementDAL.MesOrderStepVerifySeave(username, json);
+ return ProductionManagementDAL.MesOrderStepVerifySeave(username,json);
+ }
+ #endregion
+
+ #region[鐢熶骇绠$悊,淇敼鎶ュ伐鍙嶅鏍告彁浜
+ public static ToMessage MesOrderStepNoVerifySeave(string username, List<UpdateProductReport> json)
+ {
+ return ProductionManagementDAL.MesOrderStepNoVerifySeave(username, json);
+ }
+ #endregion
+
+ #region[鐢熶骇绠$悊,鍒犻櫎鎶ュ伐璁板綍]
+ public static ToMessage MesOrderStepDeleteSeave(string username, List<UpdateProductReport> json)
+ {
+ return ProductionManagementDAL.MesOrderStepDeleteSeave(username, json);
}
#endregion
--
Gitblit v1.9.3