
com.kedauis.system.dao.SysDeptMapper Maven / Gradle / Ivy
The newest version!
package com.kedauis.system.dao;
import com.kedauis.system.model.SysDept;
import org.springframework.stereotype.Repository;
import java.util.List;
@Repository
public interface SysDeptMapper {
/**
* @author QiuYu
* date 2017/12/15
* time 14:27
* description 获取全部部门
* @return all depts
*/
public List qryAllDepts();
/**
* @author QiuYu
* date 2017/12/15
* time 14:27
* description 获取有效的有效的部门
* @return all enable dept
*/
public List qryEnableDepts();
/**
* @author QiuYu
* date 2017/12/19
* time 13:57
* description 根据父节点查询机构
* @param deptParentId 父级部门id
* @return children dept
*/
public List qryDeptsByParentId(Integer deptParentId);
/**
* @author QiuYu
* date 2017/12/19
* time 9:02
* description 删除部门
* @param id 部门id
*/
public void delDept(Integer id);
/**
* @author QiuYu
* date 2017/12/19
* time 9:06
* description 插入部门
* @param sysDept 要插入的部门
*/
public void insDept(SysDept sysDept);
/**
* @author QiuYu
* date 2017/12/19
* time 9:06
* description 更新部门信息
* @param sysDept 要更新的部门
*/
public void updDept(SysDept sysDept);
/**
* @author QiuYu
* date 2017/12/19
* time 9:28
* description 根据部门id(业务主键deptid)查找部门
* @param deptId 部门id
* @return deptment info
*/
public SysDept qryDeptByDeptId(String deptId);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy