| | |
| | | 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; |
| | | |
| | |
| | | * @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(); |
| | | } |