diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/mapper/SysDeptMapper.java b/ruoyi-system/src/main/java/com/ruoyi/system/mapper/SysDeptMapper.java
index 92514f27f..4e2a7e0cf 100644
--- a/ruoyi-system/src/main/java/com/ruoyi/system/mapper/SysDeptMapper.java
+++ b/ruoyi-system/src/main/java/com/ruoyi/system/mapper/SysDeptMapper.java
@@ -6,14 +6,14 @@ import com.ruoyi.common.core.domain.entity.SysDept;
/**
* 部门管理 数据层
- *
+ *
* @author ruoyi
*/
public interface SysDeptMapper
{
/**
* 查询下级部门数量
- *
+ *
* @param dept 部门信息
* @return 结果
*/
@@ -21,7 +21,7 @@ public interface SysDeptMapper
/**
* 查询部门是否存在用户
- *
+ *
* @param deptId 部门ID
* @return 结果
*/
@@ -29,7 +29,7 @@ public interface SysDeptMapper
/**
* 查询部门管理数据
- *
+ *
* @param dept 部门信息
* @return 部门信息集合
*/
@@ -37,7 +37,7 @@ public interface SysDeptMapper
/**
* 删除部门管理信息
- *
+ *
* @param deptId 部门ID
* @return 结果
*/
@@ -45,7 +45,7 @@ public interface SysDeptMapper
/**
* 新增部门信息
- *
+ *
* @param dept 部门信息
* @return 结果
*/
@@ -53,7 +53,7 @@ public interface SysDeptMapper
/**
* 修改部门信息
- *
+ *
* @param dept 部门信息
* @return 结果
*/
@@ -61,7 +61,7 @@ public interface SysDeptMapper
/**
* 修改子元素关系
- *
+ *
* @param depts 子元素
* @return 结果
*/
@@ -69,7 +69,7 @@ public interface SysDeptMapper
/**
* 根据部门ID查询信息
- *
+ *
* @param deptId 部门ID
* @return 部门信息
*/
@@ -77,7 +77,7 @@ public interface SysDeptMapper
/**
* 校验部门名称是否唯一
- *
+ *
* @param deptName 部门名称
* @param parentId 父部门ID
* @return 结果
@@ -94,14 +94,14 @@ public interface SysDeptMapper
/**
* 修改所在部门正常状态
- *
+ *
* @param deptIds 部门ID组
*/
- public void updateDeptStatusNormal(Long[] deptIds);
+ public void updateDeptStatusNormal(@Param("deptIds") Long[] deptIds);
/**
* 根据ID查询所有子部门
- *
+ *
* @param deptId 部门ID
* @return 部门列表
*/
@@ -109,7 +109,7 @@ public interface SysDeptMapper
/**
* 根据ID查询所有子部门(正常状态)
- *
+ *
* @param deptId 部门ID
* @return 子部门数
*/
diff --git a/ruoyi-system/src/main/resources/mapper/system/SysDeptMapper.xml b/ruoyi-system/src/main/resources/mapper/system/SysDeptMapper.xml
index fd3e64eec..45387f0ab 100644
--- a/ruoyi-system/src/main/resources/mapper/system/SysDeptMapper.xml
+++ b/ruoyi-system/src/main/resources/mapper/system/SysDeptMapper.xml
@@ -21,12 +21,12 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
-
+
- select d.dept_id, d.parent_id, d.ancestors, d.dept_name, d.order_num, d.leader, d.phone, d.email, d.status, d.del_flag, d.create_by, d.create_time
+ select d.dept_id, d.parent_id, d.ancestors, d.dept_name, d.order_num, d.leader, d.phone, d.email, d.status, d.del_flag, d.create_by, d.create_time
from sys_dept d
-
+
-
+
-
+
-
+
-
+