From 0f4b1ef7db5b361f38ca62ee75c31eca07b191aa Mon Sep 17 00:00:00 2001
From: huangjiayang <5265313@qq.com>
Date: 星期日, 27 四月 2025 15:20:00 +0800
Subject: [PATCH] 【UPDATE】1.修改获取U9工单数据实体字段新增op_status, next_op_name 2.对应钣金、零件、气柜管路实体

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

diff --git a/aps-modules/aps-core/src/main/resources/mapper/core/ApsPartRouteStatMapper.xml b/aps-modules/aps-core/src/main/resources/mapper/core/ApsPartRouteStatMapper.xml
index c69852c..32b5a9a 100644
--- a/aps-modules/aps-core/src/main/resources/mapper/core/ApsPartRouteStatMapper.xml
+++ b/aps-modules/aps-core/src/main/resources/mapper/core/ApsPartRouteStatMapper.xml
@@ -123,11 +123,9 @@
         from aps_part_plan  as pl
             left join aps_process_route as rt on pl.document_number=rt.work_order_no
             left join aps_resource_group as rs on rs.resource_group_name=rt.process_name
-        where pl.del_flag='0' and rt.del_flag='0'
-            /*闆朵欢璁″垝鐘舵�佷负锛氶潪瀹屽伐 */
-            and ( pl.document_status is not null and ( pl.document_status!='3' or pl.order_status!='瀹屽伐') )
-            /*宸ュ簭璁″垝寮�宸ユ棩 灏忎簬绛変簬 璧勬簮缁勭殑鎴鏃ユ湡*/
-            and rt.process_plan_start_day  &lt;= rs.request_date
+        where pl.document_number is not null and rt.work_order_no is not null
+             and pl.del_flag='0'
+             and  rt.process_plan_start_day  &lt;= rs.request_date
             order by rt.work_order_no,process_plan_start_day
     </select>
 

--
Gitblit v1.9.3