From 013f480082d982b7542bfd812edb0913882ecbe4 Mon Sep 17 00:00:00 2001
From: ZhuDongming <773644075@qq.com>
Date: Wed, 04 Dec 2019 17:21:33 +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