From b0496b57b807044c8d4a866128b1ca42f4b339ad Mon Sep 17 00:00:00 2001 From: huangjiayang <5265313@qq.com> Date: 星期一, 28 四月 2025 16:23:23 +0800 Subject: [PATCH] 【UPDATE-BUGFIX】修改气柜管路产能统计行数据以标准工序为准 --- 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..94bcc48 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 != '' and major == 'piping'"> + <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