From d0a6fc23f31f924cb1744397478dc4c7c57c04e1 Mon Sep 17 00:00:00 2001
From: XiaoRuby <3114200645@qq.com>
Date: 星期六, 19 八月 2023 09:58:40 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/master'

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

diff --git a/laboratory-server/src/main/resources/mapper/MetricalInformationMapper.xml b/laboratory-server/src/main/resources/mapper/MetricalInformationMapper.xml
index 21de131..858dbf3 100644
--- a/laboratory-server/src/main/resources/mapper/MetricalInformationMapper.xml
+++ b/laboratory-server/src/main/resources/mapper/MetricalInformationMapper.xml
@@ -8,6 +8,7 @@
         FROM metrical_information m, `user` u
         WHERE m.`user_id` = u.`id`
         AND m.`state` = 1
+          and result is not Null
         AND m.`instrument_id` = #{InstrumentId}
     </select>
 </mapper>

--
Gitblit v1.9.3