From 71af12d1d4abf46e4d4ba89a8e64c8a8dc190362 Mon Sep 17 00:00:00 2001
From: zjh <2207896513@qq.com>
Date: 星期四, 27 三月 2025 18:56:15 +0800
Subject: [PATCH] 1.来料检list页面添加下拉框,可精准选择要筛选的项目 2.新建实验室送检接口

---
 StandardPda/MES.Service/service/QC/BaseService.cs |   20 ++++++++++----------
 1 files changed, 10 insertions(+), 10 deletions(-)

diff --git a/StandardPda/MES.Service/service/QC/BaseService.cs b/StandardPda/MES.Service/service/QC/BaseService.cs
index d99828f..4c9af3a 100644
--- a/StandardPda/MES.Service/service/QC/BaseService.cs
+++ b/StandardPda/MES.Service/service/QC/BaseService.cs
@@ -5,16 +5,16 @@
 
 public class BaseService
 {
-    // public string?[] getUserLineNo(string userNo)
-    // {
-    //     //MesLineUser
-    //     var db = SqlSugarHelper.GetInstance();
-    //     var mesLineUsers = db.Queryable<MesLineUser>()
-    //         .Where(a => a.Fcode == userNo)
-    //         .ToList();
-    //     // 浣跨敤 Distinct 鏂规硶瀵� LineNo 杩涜鍘婚噸  
-    //     return mesLineUsers.Select(s => s.LineNo).Distinct().ToArray();
-    // }
+    public string?[] getUserLineNo(string userNo)
+    {
+        //MesLineUser
+        var db = SqlSugarHelper.GetInstance();
+        var mesLineUsers = db.Queryable<MesLineUser>()
+            .Where(a => a.Fcode == userNo)
+            .ToList();
+        // 浣跨敤 Distinct 鏂规硶瀵� LineNo 杩涜鍘婚噸  
+        return mesLineUsers.Select(s => s.LineNo).Distinct().ToArray();
+    }
 
     public int saveImage(List<MesQsImage> entity)
     {

--
Gitblit v1.9.3