From eddeff0b81ea84c3b66ab1b8b7943146f953b0e1 Mon Sep 17 00:00:00 2001
From: yl <ykxkd@outlook.com>
Date: 星期一, 13 二月 2023 17:17:05 +0800
Subject: [PATCH] 1.往来单位同步修改(客户、供应商、客户/供应商) 2.往来单位新增/编修 :单位属性改为(客户、供应商、客户/供应商) 3.生产开报工PC端、APP端:外协工序时外协供应商(供应商、客户/供应商) 4.委外工序明细报表:(供应商、客户/供应商) 5.工序定义关联工作站(供应商、客户/供应商) 6.综合看板右上角字段(供应商、客户/供应商) 7.采购订单看板(供应商、客户/供应商) 8.采购订单关闭接口开发

---
 VueWebApi/DLL/DAL/AppDeviceManageDAL.cs |   24 +++++-------------------
 1 files changed, 5 insertions(+), 19 deletions(-)

diff --git a/VueWebApi/DLL/DAL/AppDeviceManageDAL.cs b/VueWebApi/DLL/DAL/AppDeviceManageDAL.cs
index bf744a3..c00fe05 100644
--- a/VueWebApi/DLL/DAL/AppDeviceManageDAL.cs
+++ b/VueWebApi/DLL/DAL/AppDeviceManageDAL.cs
@@ -149,7 +149,7 @@
             try
             {
                 list.Clear();
-                mes = SeachEncode.EncodingSeach("2040");  //鐢熸垚鍗曞彿
+                mes = SeachEncode.EncodingSeach("1027");  //PC绔澶囩偣妫�璁板綍鐢熸垚鍗曞彿
                 if (mes.code == "300")
                 {
                     return mes;
@@ -204,9 +204,6 @@
                         }
                     }); ;
                 }
-                //鍥炲啓瀛楀吀琛�,鏇存柊褰撳墠娴佹按鍙�
-                sql = @"update T_CodeRules set value=@cunm2  where rightcode=@RightCode";
-                list.Add(new { str = sql, parm = new { cunm2 = numvalue, RightCode = "1027" } });
 
                 bool aa = DapperHelper.DoTransaction(list);
                 if (aa)
@@ -366,7 +363,7 @@
             try
             {
                 list.Clear();
-                mes = SeachEncode.EncodingSeach("2041");  //鐢熸垚鍗曞彿
+                mes = SeachEncode.EncodingSeach("1028");  //PC绔繚鍏昏褰曠敓鎴愬崟鍙�
                 if (mes.code == "300")
                 {
                     return mes;
@@ -422,9 +419,7 @@
                         }
                     }); ;
                 }
-                //鍥炲啓瀛楀吀琛�,鏇存柊褰撳墠娴佹按鍙�
-                sql = @"update T_CodeRules set value=@cunm2  where rightcode=@RightCode";
-                list.Add(new { str = sql, parm = new { cunm2 = numvalue, RightCode = "1028" } });
+
                 bool aa = DapperHelper.DoTransaction(list);
                 if (aa)
                 {
@@ -526,10 +521,9 @@
             try
             {
                 list.Clear();
-                mes = SeachEncode.EncodingSeach("2042");  //鐢熸垚鍗曞彿
+                mes = SeachEncode.EncodingSeach("1019");  //PC绔淮淇敵璇疯褰曠敓鎴愬崟鍙�
                 if (mes.code == "300")
                 {
-                    mes.Message = "鐢熸垚鍗曞彿澶辫触,璇疯缃紪鐮佷负銆�2042銆戠殑缂栫爜瑙勫垯";
                     return mes;
                 }
                 else
@@ -583,9 +577,6 @@
                         source = faultsourcecode
                     }
                 });
-                //鍥炲啓瀛楀吀琛�,鏇存柊褰撳墠娴佹按鍙�
-                sql = @"update T_CodeRules set value=@cunm2  where rightcode=@RightCode";
-                list.Add(new { str = sql, parm = new { cunm2 = numvalue, RightCode = "2042" } });
 
                 bool aa = DapperHelper.DoTransaction(list);
                 if (aa)
@@ -665,10 +656,9 @@
             try
             {
                 list.Clear();
-                mes = SeachEncode.EncodingSeach("2043");  //鐢熸垚鍗曞彿
+                mes = SeachEncode.EncodingSeach("1029");  //PC璁惧缁翠慨璁板綍鐢熸垚鍗曞彿
                 if (mes.code == "300")
                 {
-                    mes.Message = "鐢熸垚鍗曞彿澶辫触,璇疯缃紪鐮佷负銆�2043銆戠殑缂栫爜瑙勫垯";
                     return mes;
                 }
                 else
@@ -738,10 +728,6 @@
                 //鏇存柊缁翠慨鐢宠鍗曠姸鎬�
                 sql = @"update TEqp_RepairRequest set status=@status  where docu_code=@docu_code and wksp_code=@wkshpcode  and eqp_code=@eqpcode";
                 list.Add(new { str = sql, parm = new { docu_code = docu_code, wkshpcode = wkshpcode, eqpcode = eqpcode, status = "COMP" } });
-
-                //鍥炲啓瀛楀吀琛�,鏇存柊褰撳墠娴佹按鍙�
-                sql = @"update T_CodeRules set value=@cunm2  where rightcode=@RightCode";
-                list.Add(new { str = sql, parm = new { cunm2 = numvalue, RightCode = "2043" } });
 
                 bool aa = DapperHelper.DoTransaction(list);
                 if (aa)

--
Gitblit v1.9.3