| | |
| | | |
| | | import java.util.List; |
| | | |
| | | import com.ruoyi.common.core.domain.entity.SysUserDept; |
| | | import org.apache.ibatis.annotations.Mapper; |
| | | import org.apache.ibatis.annotations.Param; |
| | | import com.ruoyi.common.core.domain.entity.SysDept; |
| | |
| | | */ |
| | | public SysDept selectDeptById(Long deptId); |
| | | |
| | | public SysDept selectDeptByCode(String deptCode); |
| | | public SysDept selectDeptByCode(@Param("deptType") String deptType, @Param("orgid") String orgid, @Param("deptCode") String deptCode); |
| | | |
| | | /** |
| | | * 根据ID查询所有子部门 |
| | |
| | | * @return 结果 |
| | | */ |
| | | public int deleteDeptById(Long deptId); |
| | | |
| | | /** |
| | | * 根据UserID查询所有子部门 |
| | | * |
| | | * @param sysUserDept 部门g关系 |
| | | * @return 部门列表 |
| | | */ |
| | | public List<SysDept> selectSysDeptListBySysUserDept(SysUserDept sysUserDept); |
| | | } |