From 9af79e89d057f44b142fa8af6ae394d2ce7ccfe3 Mon Sep 17 00:00:00 2001
From: zss <zss@example.com>
Date: 星期二, 22 八月 2023 14:15:57 +0800
Subject: [PATCH] 改动3.0

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

diff --git a/inspection-server/src/main/resources/mapper/InspectionProductMapper.xml b/inspection-server/src/main/resources/mapper/InspectionProductMapper.xml
index a04eeab..4fd8ea4 100644
--- a/inspection-server/src/main/resources/mapper/InspectionProductMapper.xml
+++ b/inspection-server/src/main/resources/mapper/InspectionProductMapper.xml
@@ -37,4 +37,20 @@
         where state = 1
           and test_state is null
     </select>
+
+    <!--鑾峰彇妫�楠岄」鐩�,璁惧,妫�楠屽紑濮嬫椂闂�,鎵ц浜�,妫�楠岀粨鏉熸椂闂�-->
+    <select id="getResultNum" resultType="java.util.Map">
+        select ip.name,
+               equipment_name instrumentname,
+               start_time     startTime,
+               user.name      checkname,
+               end_time       endTime
+        from lims_laboratory.inspection_product ip
+                 left join lims_laboratory.inspection_material on ip.inspection_material_id = inspection_material.id
+                 left join lims_laboratory.inspection i on inspection_material.inspection_id = i.id
+                 left join lims_laboratory.instrument on ip.instrument_id = instrument.id
+                 left join lims_laboratory.user on ip.user_id = user.id
+        where ip.state=1
+        and test_state is null
+    </select>
 </mapper>
\ No newline at end of file

--
Gitblit v1.9.3