From 05946b151e7010b2b1a851892152e6b5d34151b3 Mon Sep 17 00:00:00 2001
From: lx <ex_lixiang17@cosl.com.cn>
Date: 星期五, 11 七月 2025 17:30:52 +0800
Subject: [PATCH] update

---
 ErrorAnalysis.Repository/COFarWOLRepository.cs |   18 +++++++++---------
 1 files changed, 9 insertions(+), 9 deletions(-)

diff --git a/ErrorAnalysis.Repository/COFarWOLRepository.cs b/ErrorAnalysis.Repository/COFarWOLRepository.cs
index 11505e1..cc32072 100644
--- a/ErrorAnalysis.Repository/COFarWOLRepository.cs
+++ b/ErrorAnalysis.Repository/COFarWOLRepository.cs
@@ -1,4 +1,4 @@
-锘�//using ErrorAnalysis.Repository.Entity;
+锘縰sing ErrorAnalysis.Repository.Entity;
 using System;
 using System.Collections.Generic;
 using System.Linq;
@@ -11,13 +11,13 @@
     {
         public COFarWOLRepository(string connectionString) : base(connectionString) { }
 
-        //public COFarWOLTable GetCOFarWOL(string modelId, int sw)
-        //{
-        //    using (var context = new RetMcnpDbContext(_connectionString))
-        //    {
-        //        var result = context.COFarWOLTables.FirstOrDefault(x => x.ModelID == modelId && x.Sw == sw);
-        //        return result;
-        //    }
-        //}
+        public COFarWOLTable GetCOFarWOL(string modelId, int sw)
+        {
+            using (var context = new RetMcnpDbContext(_connectionString))
+            {
+                var result = context.COFarWOLTables.FirstOrDefault(x => x.ModelID == modelId && x.Sw == sw);
+                return result;
+            }
+        }
     }
 }

--
Gitblit v1.9.3