
com.kedauis.system.service.DeptService Maven / Gradle / Ivy
The newest version!
package com.kedauis.system.service;
import com.kedauis.system.model.SysDept;
import java.util.List;
/**
* @author linyong
* date 2017/11/29
* time 9:54
* description 部门管理接口
*/
public interface DeptService {
/**
* @author QiuYu
* date 2017/12/15
* time 14:27
* description 获取全部部门
* @return 全部部门
*/
public List qryAllDepts();
/**
* @author QiuYu
* date 2017/12/15
* time 14:27
* description 获取全部有效部门
* @return 部门列表
*/
public List qryEnableDepts();
/**
* @author QiuYu
* date 2017/12/19
* time 8:59
* description 保存或更新部门信息
* @param sysDept 要更新的部门
* @return 部门
*/
public SysDept saveOrUpdate(SysDept sysDept);
/**
* @author QiuYu
* date 2017/12/19
* time 8:59
* description 删除部门
* @param id 部门id
*/
public void delDept(String id);
/**
* @author QiuYu
* date 2017/12/19
* time 9:28
* description 根据部门id(业务主键deptid)查找部门
* @return 部门
* @param deptId 部门id
*/
public SysDept qryDeptByDeptId(String deptId);
/**
* @author QiuYu
* date 2017/12/19
* time 13:55
* description 判断是否能删除机构
* @param id 部门id
* @return 能否删除
*/
public boolean isCanDelDept(String id);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy