From f9c7f114f3eabb14532bca76671598b130f91aeb Mon Sep 17 00:00:00 2001
From: xwt <2740516069@qq.com>
Date: 星期三, 24 九月 2025 16:47:52 +0800
Subject: [PATCH] SJ,LLJ,RKJ修改

---
 StandardInterface/MES.Service/service/QC/RKJService.cs |    7 ++-----
 1 files changed, 2 insertions(+), 5 deletions(-)

diff --git a/StandardInterface/MES.Service/service/QC/RKJService.cs b/StandardInterface/MES.Service/service/QC/RKJService.cs
index 1365909..86c7046 100644
--- a/StandardInterface/MES.Service/service/QC/RKJService.cs
+++ b/StandardInterface/MES.Service/service/QC/RKJService.cs
@@ -309,11 +309,8 @@
                 QsCode = a.QsCode,
                 QsName = a.QsName,
                 isCheck = SqlFunc.AggregateCount(b.Id),
-                Result = a.IsPass == 1 &&
-                         a.LevelNum == SqlFunc.AggregateCount(b.Id) ? "鍚堟牸"
-                    : a.IsPass == 0 &&
-                      a.LevelNum == SqlFunc.AggregateCount(b.Id) ? "涓嶅悎鏍�"
-                    : "鏈畬鎴�"
+                Result = SqlFunc.AggregateCount(b.Id) == 0 ? "鏈畬鎴�" :
+                         a.IsPass == 1 ? "鍚堟牸" : "涓嶅悎鏍�"
             }).OrderBy("result desc").ToList();
     }
 

--
Gitblit v1.9.3