From 37f8463032c06236bfd098133c31cda51217b00f Mon Sep 17 00:00:00 2001 From: yanzhaofeige <yanzhaofeige@qq.com> Date: Wed, 09 Oct 2024 23:08:37 +0800 Subject: [PATCH] 数据中心编号处理 --- cpzidc-bis/src/main/resources/mapper/bis/IdcNoIndexMapper.xml | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/cpzidc-bis/src/main/resources/mapper/bis/IdcNoIndexMapper.xml b/cpzidc-bis/src/main/resources/mapper/bis/IdcNoIndexMapper.xml index 33733b2..4be7b34 100644 --- a/cpzidc-bis/src/main/resources/mapper/bis/IdcNoIndexMapper.xml +++ b/cpzidc-bis/src/main/resources/mapper/bis/IdcNoIndexMapper.xml @@ -12,7 +12,7 @@ </resultMap> <sql id="selectIdcNoIndexVo"> - select id, tel_no, production_year, index from idc_no_index + select id, tel_no, production_year, 'index' from idc_no_index </sql> <select id="selectIdcNoIndexList" parameterType="IdcNoIndex" resultMap="IdcNoIndexResult"> @@ -20,7 +20,7 @@ <where> <if test="telNo != null and telNo != ''"> and tel_no = #{telNo}</if> <if test="productionYear != null and productionYear != ''"> and production_year = #{productionYear}</if> - <if test="index != null and index != ''"> and index = #{index}</if> + <if test="index != null and index != ''"> and 'index' = #{index}</if> </where> </select> -- Gitblit v1.9.3