From 35df7283579ab155e32ecf3299c52fc9b7e5bdef Mon Sep 17 00:00:00 2001
From: zhanghl <253316343@qq.com>
Date: 星期五, 09 五月 2025 17:17:23 +0800
Subject: [PATCH] 钣金需求匹配-完善工时计算

---
 aps-modules/aps-core/src/main/resources/mapper/core/ApsPlatePlanMapper.xml |    2 +-
 1 files changed, 1 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 623bc32..b53581e 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
@@ -285,7 +285,7 @@
         select  id,document_number,main_part_number,item_number,plant,professional_affiliation,production_quantity,
              unmatched_quantity,version
         from aps_plate_plan
-        where  del_flag='0' and professional_affiliation !='0' and unmatched_quantity > 0
+        where  del_flag='0' and professional_affiliation ='sub' and unmatched_quantity > 0
         <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

--
Gitblit v1.9.3