From aa3256f25ea88527455f96c02d39e6e319fcf8e4 Mon Sep 17 00:00:00 2001
From: Fixiaobai <fixiaobai@163.com>
Date: 星期三, 09 八月 2023 17:53:20 +0800
Subject: [PATCH] 不合格反馈与不合格评审

---
 laboratory-server/src/main/resources/mapper/MetricalInformationMapper.xml |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/laboratory-server/src/main/resources/mapper/MetricalInformationMapper.xml b/laboratory-server/src/main/resources/mapper/MetricalInformationMapper.xml
index 3f74553..21de131 100644
--- a/laboratory-server/src/main/resources/mapper/MetricalInformationMapper.xml
+++ b/laboratory-server/src/main/resources/mapper/MetricalInformationMapper.xml
@@ -7,6 +7,7 @@
                m.`uncertainty`, m.`result`, m.`performance_index`, m.`remarks`, m.`file_path`, DATE_FORMAT(m.`create_time`, '%Y-%m-%d') createDate
         FROM metrical_information m, `user` u
         WHERE m.`user_id` = u.`id`
-          AND m.`state` = 1
+        AND m.`state` = 1
+        AND m.`instrument_id` = #{InstrumentId}
     </select>
 </mapper>

--
Gitblit v1.9.3