From c0f3c3f170846197d8d3f74ac123e0ac93a6dd67 Mon Sep 17 00:00:00 2001
From: lixiaojun <1287241240@qq.com>
Date: 星期一, 09 九月 2024 13:12:37 +0800
Subject: [PATCH] 肯特流量表数据对接更新

---
 IStation.Application.SZJT/01-logic-dma/1-mgr/LogicDma_Controller.cs |   36 ------------------------------------
 1 files changed, 0 insertions(+), 36 deletions(-)

diff --git a/IStation.Application.SZJT/05-logic-dma/1-mgr/LogicDma_Controller.cs b/IStation.Application.SZJT/01-logic-dma/1-mgr/LogicDma_Controller.cs
similarity index 84%
rename from IStation.Application.SZJT/05-logic-dma/1-mgr/LogicDma_Controller.cs
rename to IStation.Application.SZJT/01-logic-dma/1-mgr/LogicDma_Controller.cs
index 25d6081..1535c65 100644
--- a/IStation.Application.SZJT/05-logic-dma/1-mgr/LogicDma_Controller.cs
+++ b/IStation.Application.SZJT/01-logic-dma/1-mgr/LogicDma_Controller.cs
@@ -60,13 +60,6 @@
         [HttpPost]
         public long Insert([Required] AddLogicDmaInput input)
         {
-            if (!string.IsNullOrEmpty(input.Code))
-            {
-                if (_service.IsExistCode(input.Code))
-                {
-                    throw YOops.Oh(eResultCode.Alert, InternalErrorCodes.V001, $"Code:{input.Code}", "缂栫爜宸插瓨鍦�");
-                }
-            }
             if (!string.IsNullOrEmpty(input.TagName))
             {
                 if (_service.IsExistTagName(input.TagName))
@@ -95,13 +88,6 @@
             if (model == null)
             {
                 throw YOops.Oh(eResultCode.Alert, InternalErrorCodes.D001, $"ID:{input.ID} 鏁版嵁涓嶅瓨鍦�");
-            }
-            if (!string.IsNullOrEmpty(input.Code))
-            {
-                if (_service.IsExistCodeExceptID(input.Code, input.ID))
-                {
-                    throw YOops.Oh(eResultCode.Alert, InternalErrorCodes.V001, $"Code:{input.Code}", "缂栫爜宸插瓨鍦�");
-                }
             }
             if (!string.IsNullOrEmpty(input.TagName))
             {
@@ -198,28 +184,6 @@
         #endregion
 
         #region Exist
-
-        /// <summary>
-        /// 鍒ゆ柇 Code 鏄惁瀛樺湪
-        /// </summary>
-        [Route("IsExistCode@V1.0")]
-        [HttpGet]
-        public bool IsExistCode([FromQuery][Required] CodeInput input)
-        {
-            var bol = _service.IsExistCode(input.Code);
-            return bol;
-        }
-
-        /// <summary>
-        ///  鍒ゆ柇 Code 鏄惁瀛樺湪 ExceptID
-        /// </summary>
-        [Route("IsExistCodeExceptID@V1.0")]
-        [HttpGet]
-        public bool IsExistCodeExceptID([FromQuery][Required] CodeExceptInput input)
-        {
-            var bol = _service.IsExistCodeExceptID(input.Code, input.ExceptID);
-            return bol;
-        }
 
         /// <summary>
         /// 鍒ゆ柇TagName鏄惁瀛樺湪

--
Gitblit v1.9.3