From 7cce9e212894b69f5539d768bfd372360df05904 Mon Sep 17 00:00:00 2001
From: zouyu <2723363702@qq.com>
Date: 星期二, 28 四月 2026 16:39:40 +0800
Subject: [PATCH] 合格率统计调整:不合格处理OA状态为退回的不纳入合格率统计

---
 inspect-server/src/main/resources/mapper/InsReportMapper.xml |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/inspect-server/src/main/resources/mapper/InsReportMapper.xml b/inspect-server/src/main/resources/mapper/InsReportMapper.xml
index 68615c0..ad7a7b9 100644
--- a/inspect-server/src/main/resources/mapper/InsReportMapper.xml
+++ b/inspect-server/src/main/resources/mapper/InsReportMapper.xml
@@ -79,6 +79,7 @@
                  left join laboratory l on s.lab_id = l.id
         where l.laboratory_name = #{name}
           and s.type = #{type}
+          and s.contract = #{contract}
         order by s.create_time desc
         limit 1
     </select>

--
Gitblit v1.9.3