From 31ccc9cd47f96cea6e4e13b078187fd3201c4666 Mon Sep 17 00:00:00 2001
From: liding <756868258@qq.com>
Date: 星期五, 04 九月 2026 16:35:24 +0800
Subject: [PATCH] feat(report): 更新检测报告模板并优化报告生成功能 - 优化设备信息展示格式,支持多设备列表显示 - 统一检测报告和检验报告使用新版模板格式

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

diff --git a/inspect-server/src/main/resources/mapper/InsUnqualifiedHandlerMapper.xml b/inspect-server/src/main/resources/mapper/InsUnqualifiedHandlerMapper.xml
index c91b2c0..f971b19 100644
--- a/inspect-server/src/main/resources/mapper/InsUnqualifiedHandlerMapper.xml
+++ b/inspect-server/src/main/resources/mapper/InsUnqualifiedHandlerMapper.xml
@@ -27,9 +27,6 @@
             iuh.off_grade_ascription,
             iuh.unqualified_desc,
             iuh.inventory_quantity_id,
-            iuh.oa_state,
-            iuh.request_id,
-            iuh.file_url,
             iuh.headline
         from
             ins_unqualified_handler iuh
@@ -58,10 +55,7 @@
         iuh.classification,
         iuh.off_grade_ascription,
         iuh.unqualified_desc,
-        iuh.inventory_quantity_id,
-        iuh.request_id,
-        iuh.oa_state,
-        iuh.file_url
+        iuh.inventory_quantity_id
         from
         ins_unqualified_handler iuh
         inner join
@@ -69,20 +63,5 @@
         on
         iuh.inventory_quantity_id = iiq.id)tempA
         where tempA.handler_id = #{id}
-    </select>
-    <select id="getOaFlow" resultType="com.ruoyi.inspect.pojo.CommonOa">
-        select co.id,
-               co.node_name,
-               co.operation,
-               co.approver,
-               co.approval_date,
-               co.approval_time,
-               co.approval_opinion,
-               co.workflow_id
-        from common_oa co
-                 left join ins_unqualified_handler iuh on iuh.request_id = co.workflow_id
-        where iuh.id = #{id}
-        and operation != '鎶勯��'
-        group by co.node_name
     </select>
 </mapper>

--
Gitblit v1.9.3