From 044e365bf44a2de99b61f5da21f9729e34e4f93f Mon Sep 17 00:00:00 2001 From: liurunyu <lry9898@163.com> Date: 星期六, 18 十一月 2023 09:52:14 +0800 Subject: [PATCH] 修改查询农户sql语句 --- 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