From c935e18fab3604e493de29b164ea4019244bb182 Mon Sep 17 00:00:00 2001
From: zouyu <2723363702@qq.com>
Date: 星期四, 21 五月 2026 17:59:58 +0800
Subject: [PATCH] 对外Mes查询外购订单零件批次属性接口开发
---
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