From 476740c4330135b38be6a32f54dbe1bbcd32476a Mon Sep 17 00:00:00 2001
From: zss <zss@example.com>
Date: 星期一, 13 一月 2025 13:20:56 +0800
Subject: [PATCH] Merge branch 'master' into cnas

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

diff --git a/inspect-server/src/main/resources/mapper/InsProductResult2Mapper.xml b/inspect-server/src/main/resources/mapper/InsProductResult2Mapper.xml
index 883e299..de4be72 100644
--- a/inspect-server/src/main/resources/mapper/InsProductResult2Mapper.xml
+++ b/inspect-server/src/main/resources/mapper/InsProductResult2Mapper.xml
@@ -35,4 +35,23 @@
              #{result2.num})
         </foreach>
     </insert>
+    <select id="selectWordHang" resultType="com.yuanchu.mom.vo.InsProductResult2VO">
+        select
+        inspection_item_subclass,
+        unit,
+        ask,
+        result,
+        frequency,
+        port,
+        value,
+        result
+        from  ins_product_result_2 ipr2
+                          left join ins_product ip on ipr2.ins_product_id = ip.id
+        where num=#{num}
+          and ip.id in
+            <foreach collection="ids" separator="," item="id" open="(" close=")" >
+                #{id}
+            </foreach>
+        order by inspection_item_subclass
+    </select>
 </mapper>

--
Gitblit v1.9.3