From d200d0bb4293ea3232679ecdf5c19f4b836add71 Mon Sep 17 00:00:00 2001
From: zhanghl <253316343@qq.com>
Date: 星期二, 29 四月 2025 07:53:34 +0800
Subject: [PATCH] 气体管路
---
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