From 2c1c4c3fe1d25d2476bbbe7702d89b086ddd5b29 Mon Sep 17 00:00:00 2001
From: yl <ykxkd@outlook.com>
Date: 星期六, 28 一月 2023 14:09:47 +0800
Subject: [PATCH] nothing
---
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