From e09e5a4e03338f21e389ce4604462b3d953699cd Mon Sep 17 00:00:00 2001
From: zhanghl <253316343@qq.com>
Date: 星期五, 09 五月 2025 11:49:06 +0800
Subject: [PATCH] 钣金需求匹配-完善需求信息

---
 aps-modules/aps-core/src/main/resources/mapper/core/ApsPlatePlanMapper.xml |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/aps-modules/aps-core/src/main/resources/mapper/core/ApsPlatePlanMapper.xml b/aps-modules/aps-core/src/main/resources/mapper/core/ApsPlatePlanMapper.xml
index 98edeba..7d407f4 100644
--- a/aps-modules/aps-core/src/main/resources/mapper/core/ApsPlatePlanMapper.xml
+++ b/aps-modules/aps-core/src/main/resources/mapper/core/ApsPlatePlanMapper.xml
@@ -287,7 +287,8 @@
              unmatched_quantity,version
         from aps_plate_plan
         where  del_flag='0' and professional_affiliation !='0' and unmatched_quantity > 0
-        <if test="plant != null  and plan !='' "> and plant = #{plant}</if>
+        <if test="plant != null  and plant !='' "> and plant = #{plant}</if>
+        <if test="itemNumber != null  and itemNumber !='' "> and item_number = #{itemNumber}</if>
         order by document_number asc,id asc
         limit 1
     </select>

--
Gitblit v1.9.3