diff --git a/blade-service/blade-system/src/main/java/org/springblade/system/mapper/DeptMapper.xml b/blade-service/blade-system/src/main/java/org/springblade/system/mapper/DeptMapper.xml
index f751102f..9575e146 100644
--- a/blade-service/blade-system/src/main/java/org/springblade/system/mapper/DeptMapper.xml
+++ b/blade-service/blade-system/src/main/java/org/springblade/system/mapper/DeptMapper.xml
@@ -63,11 +63,11 @@
and dept.parent_id = #{param2}
-
- and dept.dept_name like concat('%', #{param.deptName},'%')
+
+ and dept.dept_name like concat('%', #{param3.deptName},'%')
-
- and dept.full_name like concat('%', #{param.fullName},'%')
+
+ and dept.full_name like concat('%', #{param3.fullName},'%')
ORDER BY dept.sort
diff --git a/blade-service/blade-system/src/main/java/org/springblade/system/mapper/MenuMapper.xml b/blade-service/blade-system/src/main/java/org/springblade/system/mapper/MenuMapper.xml
index c1e12a59..f0a1e157 100644
--- a/blade-service/blade-system/src/main/java/org/springblade/system/mapper/MenuMapper.xml
+++ b/blade-service/blade-system/src/main/java/org/springblade/system/mapper/MenuMapper.xml
@@ -61,14 +61,14 @@
and menu.parent_id = #{param1}
-
- and menu.name like concat('%', #{param.name},'%')
+
+ and menu.name like concat('%', #{param2.name},'%')
-
- and menu.code like concat('%', #{param.code},'%')
+
+ and menu.code like concat('%', #{param2.code},'%')
-
- and menu.alias like concat('%', #{param.alias},'%')
+
+ and menu.alias like concat('%', #{param2.alias},'%')
ORDER BY menu.sort
@@ -90,14 +90,14 @@
and menu.parent_id = #{param1}
-
- and menu.name like concat('%', #{param.name},'%')
+
+ and menu.name like concat('%', #{param2.name},'%')
-
- and menu.code like concat('%', #{param.code},'%')
+
+ and menu.code like concat('%', #{param2.code},'%')
-
- and menu.alias like concat('%', #{param.alias},'%')
+
+ and menu.alias like concat('%', #{param2.alias},'%')
ORDER BY menu.sort