From edc00f6fbafa9bb74f736e47cafd000fb33ef4f1 Mon Sep 17 00:00:00 2001
From: zhanghl <253316343@qq.com>
Date: 星期一, 28 四月 2025 20:39:00 +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