From baa11d154e41d24a790596899b329faaa19b24be Mon Sep 17 00:00:00 2001
From: ZhuDongming <773644075@qq.com>
Date: Wed, 13 Nov 2019 09:31:40 +0800
Subject: [PATCH] update污染溯源

---
 src/main/resources/mapper/AccountMapper.xml |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/main/resources/mapper/AccountMapper.xml b/src/main/resources/mapper/AccountMapper.xml
index a7e353d..2c97198 100644
--- a/src/main/resources/mapper/AccountMapper.xml
+++ b/src/main/resources/mapper/AccountMapper.xml
@@ -108,7 +108,7 @@
             where
                 a.account_name = #{accountName} and r.is_delete=0 and r.id is not null
         )
-        where m.menu_parent_id=0
+        where m.menu_parent_id=0 and m.is_delete=0
         order by m.menu_order
     </select>
 
@@ -132,7 +132,7 @@
             where
                 a.account_name = #{accountName} and r.is_delete=0 and r.id is not null
         )
-        where m.menu_parent_id = #{id}
+        where m.menu_parent_id = #{id} and m.is_delete=0
         order by m.menu_order
     </select>
 

--
Gitblit v1.8.0