From 2a64b537e8e3bce9ce030585a3da17d48379c0ad Mon Sep 17 00:00:00 2001 From: sfd <sun.sunshine@163.com> Date: 星期一, 26 五月 2025 15:04:45 +0800 Subject: [PATCH] 修改json类型转换错误 --- aps-modules/aps-core/src/main/resources/mapper/core/ApsGasPipelineCapacityPlanMapper.xml | 22 ++++++++++++++++++++++ 1 files changed, 22 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..9cf0dc8 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,26 @@ 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="major != null and major != ''"> + and major = #{major} + </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