From 2f91cbefebb537819abc851a3c17a08c691055f4 Mon Sep 17 00:00:00 2001
From: yl <ykxkd@outlook.com>
Date: 星期三, 27 七月 2022 20:55:31 +0800
Subject: [PATCH] 大岛车间综合看板接口

---
 VueWebApi/DLL/BLL/ProductModelBLL.cs |   92 ++++++++++++++++++++++++++++++++++++++++++++-
 1 files changed, 89 insertions(+), 3 deletions(-)

diff --git a/VueWebApi/DLL/BLL/ProductModelBLL.cs b/VueWebApi/DLL/BLL/ProductModelBLL.cs
index 05d4a3c..9ba16d7 100644
--- a/VueWebApi/DLL/BLL/ProductModelBLL.cs
+++ b/VueWebApi/DLL/BLL/ProductModelBLL.cs
@@ -69,6 +69,13 @@
         }
         #endregion
 
+        #region[鍗曚綅涓嬫媺鍒楄〃鏌ヨ]
+        public static ToMessage UomSelect()
+        {
+            return ProductModelDAL.UomSelect();
+        }
+        #endregion
+
         #region[瀛樿揣妗f鏌ヨ]
         public static ToMessage InventoryFileSelect(string partcode, string partname, string partspec, string stocktypecode, string materialtypecode, string storehousecode, int startNum, int endNum, string prop, string order)
         {
@@ -98,15 +105,20 @@
         #endregion
 
         #region[瀛樿揣妗f鍏宠仈宸ヨ壓璺嚎鎻愪氦]
-        public static ToMessage SaveInventoryFile(string partcode,string username, List<ObjectData> json)
+        public static ToMessage SaveInventoryFile(string partcode,string defaultroute_code, string username, List<ObjectData> json)
         {
-            return ProductModelDAL.SaveInventoryFile(partcode, username, json);
+            return ProductModelDAL.SaveInventoryFile(partcode, defaultroute_code, username, json);
         }
         #endregion
 
 
 
-
+        #region[宸ュ簭涓嬫媺鏌ヨ鎺ュ彛]
+        public static ToMessage StepSelect()
+        {
+            return ProductModelDAL.StepSelect();
+        }
+        #endregion
 
         #region[宸ヨ壓璺嚎鏌ヨ]
         public static ToMessage RouteSearch(string routecode, string routename, string description, string createuser, int startNum, int endNum, string prop, string order)
@@ -172,5 +184,79 @@
             return ProductModelDAL.SaveStepAssociationEqp(stepcode,username,json);
         }
         #endregion
+
+        #region[宸ュ簭鍏宠仈缂洪櫡鏌ヨ]
+        public static ToMessage StepAssociationDefect(string stepcode)
+        {
+            return ProductModelDAL.StepAssociationDefect(stepcode);
+        }
+        #endregion
+
+        #region[宸ュ簭鍏宠仈缂洪櫡鎻愪氦]
+        public static ToMessage SaveStepAssociationDefect(string stepcode, string username, List<ObjectData> json)
+        {
+            return ProductModelDAL.SaveStepAssociationDefect(stepcode,username,json);
+        }
+        #endregion
+
+
+
+
+
+        #region[浜у搧淇℃伅涓嬫媺妗嗘煡璇
+        public static ToMessage PartSelect()
+        {
+            return ProductModelDAL.PartSelect();
+        }
+        #endregion
+
+        #region[浜у搧缂栫爜鏌ユ壘宸ヨ壓璺嚎涓嬫媺妗哴
+        public static ToMessage PartSelectRpute(string partcode)
+        {
+            return ProductModelDAL.PartSelectRpute(partcode);
+        }
+        #endregion
+
+        #region[鏍规嵁宸ヨ壓璺嚎缂栫爜鏌ユ壘鍏宠仈宸ュ簭闆嗗悎]
+        public static ToMessage RouteSelectStep(string routecode)
+        {
+            return ProductModelDAL.RouteSelectStep(routecode);
+        }
+        #endregion
+
+        #region[鏍规嵁宸ュ簭绾跨紪鐮佹煡鎵惧叧鑱旇澶囦笅鎷夋闆嗗悎]
+        public static ToMessage StepSelectEqp(string stepcode)
+        {
+            return ProductModelDAL.StepSelectEqp(stepcode);
+        }
+        #endregion
+
+        #region[鏍规嵁宸ュ簭绾跨紪鐮佹煡鎵惧叧鑱旇澶囬泦鍚圿
+        public static ToMessage StepSelectEqpList(string partcode, string routecode, string stepcode, int startNum, int endNum, string prop, string order)
+        {
+            return ProductModelDAL.StepSelectEqpList(partcode, routecode, stepcode, startNum, endNum, prop, order);
+        }
+        #endregion
+
+        #region[鑺傛媿宸ヤ环鏌ヨ]
+        public static ToMessage BeatRateSearch(string partcode,string routecode, string stepcode, string eqpcode,int startNum, int endNum, string prop, string order)
+        {
+            return ProductModelDAL.BeatRateSearch(partcode,routecode, stepcode, eqpcode, startNum, endNum, prop, order);
+        }
+        #endregion
+
+        #region[鑺傛媿宸ヤ环鎻愪氦]
+        public static ToMessage SaveBeatRate(string partcode, string routecode, string stepcode, string eqpcode, string wkshopcode, string eqp_value, string stand_value, string cavity_qty, string unprice, string username)
+        {
+            return ProductModelDAL.SaveBeatRate(partcode, routecode, stepcode, eqpcode, wkshopcode, eqp_value, stand_value, cavity_qty, unprice, username);
+        }
+        #endregion
+
+        #region[鑺傛媿宸ヤ环鍒犻櫎]
+        public static ToMessage DeleteBeatRate(string partcode, string routecode, string stepcode, string eqpcode)
+        {
+            return ProductModelDAL.SaveBeatRate(partcode,routecode,stepcode,eqpcode);
+        }
+        #endregion
     }
 }
\ No newline at end of file

--
Gitblit v1.9.3