From c889621e732862353911ecc1049dc44f0c592db9 Mon Sep 17 00:00:00 2001 From: liurunyu <lry9898@163.com> Date: 星期四, 16 十一月 2023 15:59:39 +0800 Subject: [PATCH] 行政区查询,添加了deleted != 1条件 --- pipIrr-platform/pipIrr-global/src/main/resources/mapper/BaDistrictMapper.xml | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pipIrr-platform/pipIrr-global/src/main/resources/mapper/BaDistrictMapper.xml b/pipIrr-platform/pipIrr-global/src/main/resources/mapper/BaDistrictMapper.xml index db51681..52cab3f 100644 --- a/pipIrr-platform/pipIrr-global/src/main/resources/mapper/BaDistrictMapper.xml +++ b/pipIrr-platform/pipIrr-global/src/main/resources/mapper/BaDistrictMapper.xml @@ -30,7 +30,7 @@ select <include refid="Base_Column_List" /> from ba_district - where level = #{level,jdbcType=TINYINT} + where deleted != 1 and level = #{level,jdbcType=TINYINT} </select> <select id="selectBySupperId" parameterType="java.lang.Long" resultMap="BaseResultMap"> @@ -38,7 +38,7 @@ select <include refid="Base_Column_List" /> from ba_district - where supperId = #{supperId,jdbcType=BIGINT} + where deleted != 1 and supperId = #{supperId,jdbcType=BIGINT} </select> <insert id="insert" parameterType="com.dy.pipIrrGlobal.pojoBa.BaDistrict"> -- Gitblit v1.8.0