| | |
| | | package com.xinquan.system.mapper; |
| | | |
| | | import java.util.List; |
| | | |
| | | import com.xinquan.common.core.web.page.PageInfo; |
| | | import org.apache.ibatis.annotations.Param; |
| | | import com.xinquan.system.api.domain.SysDept; |
| | | |
| | |
| | | * @param parentId 父部门ID |
| | | * @return 结果 |
| | | */ |
| | | public SysDept checkDeptNameUnique(@Param("deptName") String deptName, @Param("parentId") Long parentId); |
| | | public SysDept checkDeptNameUnique(@Param("deptCode") String deptCode); |
| | | public SysDept checkDeptNameUnique1(@Param("deptCode") String deptCode,@Param("deptId") Long deptId); |
| | | |
| | | /** |
| | | * 新增部门信息 |
| | |
| | | * @return 结果 |
| | | */ |
| | | public int deleteDeptById(Long deptId); |
| | | |
| | | List<SysDept> getList(@Param("pageInfo")PageInfo<SysDept> pageInfo, @Param("deptName")String deptName); |
| | | } |