From 80495f181ecb3bd7e5658513671609efe854c818 Mon Sep 17 00:00:00 2001
From: wuzeyu <1223318623@qq.com>
Date: 星期六, 02 十二月 2023 10:40:43 +0800
Subject: [PATCH] 取水口、RTU实体 用户设置默认密码 重置密码

---
 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