huliguo
2025-05-30 925219ebfda2a480df99ca06a13033c78ae8d81f
ruoyi-system/src/main/java/com/ruoyi/system/mapper/SysDeptMapper.java
@@ -1,6 +1,9 @@
package com.ruoyi.system.mapper;
import java.util.List;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.ruoyi.system.pojo.vo.SysDeptPageVO;
import org.apache.ibatis.annotations.Param;
import com.ruoyi.common.core.domain.entity.SysDept;
@@ -114,5 +117,13 @@
     * @param deptId 部门ID
     * @return 结果
     */
    public int deleteDeptById(Long deptId);
    public int deleteDeptById(@Param("deptId")Long deptId);
    IPage<SysDeptPageVO> page(@Param("page")IPage<SysDeptPageVO> page, @Param("name")String name);
    SysDept selectDeptByName(@Param("name")String name);
    void updateDeptName(@Param("sysDept")SysDept sysDept);
    List<SysDeptPageVO> getDeptList();
}