From 738df70120209daecd85566d0c50dbf56d9e4453 Mon Sep 17 00:00:00 2001
From: Ben Lin <maobin001@msn.com>
Date: 星期二, 17 十二月 2024 21:06:59 +0800
Subject: [PATCH] 一些更改

---
 Tiger.Business.MES/Transaction/Position.cs |   21 ---------------------
 1 files changed, 0 insertions(+), 21 deletions(-)

diff --git a/Tiger.Business.MES/Transaction/Position.cs b/Tiger.Business.MES/Transaction/Position.cs
index 601f1a3..5e71779 100644
--- a/Tiger.Business.MES/Transaction/Position.cs
+++ b/Tiger.Business.MES/Transaction/Position.cs
@@ -993,27 +993,6 @@
             return list;
         }
         #endregion
-        #region 鎻愪氦鍓嶉�氱敤鏂规硶
-        /// <summary>
-        /// 鎻愪氦鍓嶆鏌ユ槸鍚﹀矖浣嶃�佸伐鍗曞拰涓嶈壇浠g爜
-        /// </summary>
-        /// <param name="code"></param>
-        /// <returns></returns>
-        public async Task<ApiAction<CheckCodeOutput>> CheckCode(string code) {
-            var action = new ApiAction<CheckCodeOutput>($"妫�鏌ユ潯鐮亄code}鎴愬姛", new CheckCodeOutput());
-            try
-            {
-                action.Data.Position = DbCache.Cache.Position[code];
-                action.Data.WorkOrder = await MainDB.Queryable<BIZ_MES_WO>().Where(q=>q.ORDER_NO == code).FirstAsync();
-                action.Data.Defect = DbCache.Cache.Defect[code];
-            }
-            catch (Exception ex)
-            {
-                action.CatchExceptionWithLog(ex, $"妫�鏌ユ潯鐮亄code}寮傚父");
-            }
-            return action;
-        }
-        #endregion
         #endregion Functions
 
         public override bool Close(bool needSaveHistoryLog = false)

--
Gitblit v1.9.3