From f5f908446cab6a5563cd5146bdf0119384514697 Mon Sep 17 00:00:00 2001
From: huangjiayang <5265313@qq.com>
Date: 星期一, 28 四月 2025 21:37:35 +0800
Subject: [PATCH] 【UPDATE-BUGFIX】修改获取设计产能数BUG
---
aps-modules/aps-core/src/main/resources/mapper/core/ApsGasPipingRouteStatMapper.xml | 8 ++++++++
1 files changed, 8 insertions(+), 0 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 fae7c5f..90049f5 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
@@ -49,6 +49,14 @@
<if test="planStartMonth != null and planStartMonth != ''"> and plan_start_month = #{planStartMonth} </if>
<if test="planStartDay != null and planStartDay != ''"> and plan_start_day = #{planStartDay} </if>
<if test="searchStartDate != null and searchStartDate != '' and searchEndDate != null and searchEndDate != ''"> and (process_plan_start_day >= #{searchStartDate} and process_plan_start_day <= #{searchEndDate}) </if>
+ <if test="major != null and major != ''">
+ <if test="major == 'piping'">
+ and process_name in (select process_name from aps_standard_process where major='绠¤矾')
+ </if>
+ <if test="major == 'gas'">
+ and process_name in (select process_name from aps_standard_process where major='姘旀煖')
+ </if>
+ </if>
</where>
</select>
--
Gitblit v1.9.3