2022-04-22 15:26:39 +08:00
|
|
|
|
package net.maku.system.service;
|
|
|
|
|
|
|
|
|
|
import net.maku.framework.common.service.BaseService;
|
|
|
|
|
import net.maku.system.entity.SysOrgEntity;
|
2022-05-05 13:58:45 +08:00
|
|
|
|
import net.maku.system.vo.SysOrgVO;
|
2022-04-22 15:26:39 +08:00
|
|
|
|
|
|
|
|
|
import java.util.List;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 机构管理
|
|
|
|
|
*
|
|
|
|
|
* @author 阿沐 babamu@126.com
|
|
|
|
|
*/
|
|
|
|
|
public interface SysOrgService extends BaseService<SysOrgEntity> {
|
|
|
|
|
|
|
|
|
|
List<SysOrgVO> getList();
|
|
|
|
|
|
2022-05-05 13:58:45 +08:00
|
|
|
|
void save(SysOrgVO vo);
|
2022-04-22 15:26:39 +08:00
|
|
|
|
|
2022-05-05 13:58:45 +08:00
|
|
|
|
void update(SysOrgVO vo);
|
2022-04-22 15:26:39 +08:00
|
|
|
|
|
|
|
|
|
void delete(Long id);
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 根据机构ID,获取子机构ID列表(包含本机构ID)
|
|
|
|
|
* @param id 机构ID
|
|
|
|
|
*/
|
|
|
|
|
List<Long> getSubOrgIdList(Long id);
|
|
|
|
|
}
|