From 154b73d12f9e39039fc7b099beab3881c94b2d8d Mon Sep 17 00:00:00 2001
From: ZhuDongming <773644075@qq.com>
Date: Thu, 21 Nov 2019 12:42:00 +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