From 3d191e81842cf3bcd6f841fbe2fc3d451c45ef99 Mon Sep 17 00:00:00 2001
From: hongjli <3117313295@qq.com>
Date: 星期三, 14 五月 2025 13:54:40 +0800
Subject: [PATCH] 钣金计划大表增加“异常状态”字段

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

diff --git a/aps-modules/aps-core/src/main/resources/mapper/core/ApsGasPipingRouteStatMapper.xml b/aps-modules/aps-core/src/main/resources/mapper/core/ApsGasPipingRouteStatMapper.xml
index 8ce9249..55a6efc 100644
--- a/aps-modules/aps-core/src/main/resources/mapper/core/ApsGasPipingRouteStatMapper.xml
+++ b/aps-modules/aps-core/src/main/resources/mapper/core/ApsGasPipingRouteStatMapper.xml
@@ -38,7 +38,7 @@
                process_plan_start_day, design_times, del_flag, create_by,
                process_name, create_time, item_number, standard_dosage,
                process_total_dosage, design_capacity, major, plan_start_year,
-               plan_start_month, plan_start_day , warning
+               plan_start_month, plan_start_day , warning, plant
         from aps_gas_piping_route_stat
     </sql>
 
@@ -214,7 +214,7 @@
                false as warning
         from aps_gas_piping_plan as pl
                  left join aps_process_route as rt on pl.document_number = rt.work_order_no
-        where pl.document_number is not null and rt.work_order_no is not null
+        where pl.document_number is not null and rt.work_order_no is not null and pl.plan_end_day is not null
         order by rt.work_order_no asc, rt.process_number desc
     </select>
 

--
Gitblit v1.9.3