From 4ac70fc8158aff8b27f572ef16a39af5c4d7e271 Mon Sep 17 00:00:00 2001
From: czw <selecti@yeah.net>
Date: 星期三, 23 七月 2025 16:41:40 +0800
Subject: [PATCH] 1

---
 2025年6月12日/AuxAllWCS/Build/Project/代码/自定义类.cs |   25 +------------------------
 1 files changed, 1 insertions(+), 24 deletions(-)

diff --git "a/2025\345\271\2646\346\234\21012\346\227\245/AuxAllWCS/Build/Project/\344\273\243\347\240\201/\350\207\252\345\256\232\344\271\211\347\261\273.cs" "b/2025\345\271\2646\346\234\21012\346\227\245/AuxAllWCS/Build/Project/\344\273\243\347\240\201/\350\207\252\345\256\232\344\271\211\347\261\273.cs"
index 9f66096..52e3c02 100644
--- "a/2025\345\271\2646\346\234\21012\346\227\245/AuxAllWCS/Build/Project/\344\273\243\347\240\201/\350\207\252\345\256\232\344\271\211\347\261\273.cs"
+++ "b/2025\345\271\2646\346\234\21012\346\227\245/AuxAllWCS/Build/Project/\344\273\243\347\240\201/\350\207\252\345\256\232\344\271\211\347\261\273.cs"
@@ -50,29 +50,6 @@
         }
         #endregion [鑷畾涔夌被][20250323144531864][Settings]
     }
-    public static class ExtendClass
-    {
-        public static void Disnull(this TaskRepository repository)
-        {
-            repository.dbcontext.Dispose();
-            repository = null;
-        }
-        public static void Disnull(this LocRepository repository)
-        {
-            repository.dbcontext.Dispose();
-            repository = null;
-        }
-        public static void Disnull(this TaskActRepository repository)
-        {
-            repository.dbcontext.Dispose();
-            repository = null;
-        }
-        public static void Disnull(this SYSRepository repository)
-        {
-            repository.dbcontext.Dispose();
-            repository = null;
-        }
-    }
     public class LogHelper
     {
         #region    [鑷畾涔夌被][20250323145442478][LogHelper]
@@ -676,7 +653,7 @@
                 N_CREATEMETHOD = 0
             };
             TaskActRepository taskserice = new TaskActRepository();
-
+            taskserice.Insert(action);
             taskserice.Disnull();
         }
 

--
Gitblit v1.9.1