From e9e88eefcc8abd2b1e187d28c7666e80307e97cc Mon Sep 17 00:00:00 2001
From: zouyu <2723363702@qq.com>
Date: 星期六, 09 五月 2026 14:59:33 +0800
Subject: [PATCH] 不合格处理:切换新的OA流程

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

diff --git a/inspect-server/src/main/resources/mapper/InsUnqualifiedHandlerMapper.xml b/inspect-server/src/main/resources/mapper/InsUnqualifiedHandlerMapper.xml
index 88664e1..d4b8e4a 100644
--- a/inspect-server/src/main/resources/mapper/InsUnqualifiedHandlerMapper.xml
+++ b/inspect-server/src/main/resources/mapper/InsUnqualifiedHandlerMapper.xml
@@ -93,6 +93,8 @@
                 iuh.request_id,
                 iuh.file_url,
                 iuh.headline,
+                iuh.ins_order_id,
+                iuh.is_old_data,
                 coa.operation
             from
                 ins_unqualified_handler iuh
@@ -107,12 +109,12 @@
             FROM
             common_oa
             ) AS coa ON iuh.request_id = coa.workflow_id AND coa.rn = 1
+            <where>
+                <if test="feedbackStartDate!=null and feedbackEndDate !=null">
+                    AND iuh.feedback_time between #{feedbackStartDate} AND #{feedbackEndDate}
+                </if>
+            </where>
         )tempA
-        <where>
-            <if test="feedbackStartDate!=null and feedbackEndDate !=null">
-                AND feedback_time between #{feedbackStartDate} AND #{feedbackEndDate}
-            </if>
-        </where>
         <if test="ew.customSqlSegment != null and ew.customSqlSegment != ''">
             ${ew.customSqlSegment}
         </if>

--
Gitblit v1.9.3