From dfa0c439d2d7626d56c37dbee2f72f5e5cd0f553 Mon Sep 17 00:00:00 2001
From: huangjiayang <5265313@qq.com>
Date: 星期三, 07 五月 2025 15:42:56 +0800
Subject: [PATCH] 【UPDATE】钣金供应缺口报表接口

---
 aps-modules/aps-core/src/main/resources/mapper/core/ApsPlateStandardRequireMapper.xml |    7 +++++++
 1 files changed, 7 insertions(+), 0 deletions(-)

diff --git a/aps-modules/aps-core/src/main/resources/mapper/core/ApsPlateStandardRequireMapper.xml b/aps-modules/aps-core/src/main/resources/mapper/core/ApsPlateStandardRequireMapper.xml
index 51725b7..5c2ae08 100644
--- a/aps-modules/aps-core/src/main/resources/mapper/core/ApsPlateStandardRequireMapper.xml
+++ b/aps-modules/aps-core/src/main/resources/mapper/core/ApsPlateStandardRequireMapper.xml
@@ -170,4 +170,11 @@
             #{id}
         </foreach>
     </delete>
+
+    <select id="selectPlateSupplyGapList" parameterType="ApsPlateStandardRequire" resultMap="ApsPlateStandardRequireResult">
+        select id, require_id, bom_line_code, bom_line_level, match_state, match_mode, unmatched_demand_amount, start_date, complete_date, demand_date, org_code, production_base
+        from aps_plate_standard_require where unmatched_demand_amount>0
+        <if test="requireId != null and requireId != ''"> and require_id like '%' || #{requireId} || '%'</if>
+        <if test="bomLineCode != null and bomLineCode != ''"> and bom_line_code like '%' || #{bomLineCode} || '%'</if>
+    </select>
 </mapper>
\ No newline at end of file

--
Gitblit v1.9.3