From 0de06ac0a530227080e9b9b4c7560d4e809fed1e Mon Sep 17 00:00:00 2001 From: zhanghl <253316343@qq.com> Date: 星期五, 23 五月 2025 14:58:12 +0800 Subject: [PATCH] Merge remote-tracking branch 'origin/dev' into dev --- aps-modules/aps-core/src/main/resources/mapper/core/ApsGasPipelineCapacityPlanMapper.xml | 19 +++++++++++++++++++ 1 files changed, 19 insertions(+), 0 deletions(-) diff --git a/aps-modules/aps-core/src/main/resources/mapper/core/ApsGasPipelineCapacityPlanMapper.xml b/aps-modules/aps-core/src/main/resources/mapper/core/ApsGasPipelineCapacityPlanMapper.xml index 5c16e41..b41970a 100644 --- a/aps-modules/aps-core/src/main/resources/mapper/core/ApsGasPipelineCapacityPlanMapper.xml +++ b/aps-modules/aps-core/src/main/resources/mapper/core/ApsGasPipelineCapacityPlanMapper.xml @@ -146,4 +146,23 @@ and org_code = #{factory} and major = #{major} </delete> + + <!-- 鏌ヨ璁捐浜ц兘鏁版嵁 - 涓撶敤浜庢帴鍙d簩鍔熻兘 --> + <select id="selectDesignCapacityForInterface2" resultMap="ApsGasPipelineCapacityPlanResult"> + <include refid="selectApsGasPipelineCapacityPlanVo"/> + <where> + <if test="processName != null and processName != ''"> + and process_name = #{processName} + </if> + <if test="year != null and year != ''"> + and year = #{year} + </if> + <if test="month != null and month != ''"> + and CAST(month AS INTEGER) = CAST(#{month} AS INTEGER) + </if> + <if test="orgCode != null and orgCode != ''"> + and org_code = #{orgCode} + </if> + </where> + </select> </mapper> \ No newline at end of file -- Gitblit v1.9.3