| | |
| | |
|
| | | import java.util.List;
|
| | |
|
| | | import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
| | | import org.apache.ibatis.annotations.Mapper;
|
| | | import org.apache.ibatis.annotations.Param;
|
| | | import com.ruoyi.project.system.domain.SysDept;
|
| | |
| | | * @author ruoyi
|
| | | */
|
| | | @Mapper
|
| | | public interface SysDeptMapper
|
| | | public interface SysDeptMapper extends BaseMapper<SysDept>
|
| | | {
|
| | | /**
|
| | | * 查询部门管理数据
|
| | |
| | | * @param depts 子元素
|
| | | * @return 结果
|
| | | */
|
| | | public int updateDeptChildren(@Param("depts") List<SysDept> depts);
|
| | | public int updateDeptChildren(@Param("depts") List<SysDept> depts); |
| | | |
| | | /** |
| | | * 批量修改部门排序 |
| | | * |
| | | * @param depts 部门列表(deptId + orderNum) |
| | | * @return 结果 |
| | | */ |
| | | public int updateDeptSort(@Param("depts") List<SysDept> depts);
|
| | |
|
| | | /**
|
| | | * 删除部门管理信息
|