block-identity-auth/admin/src/main/java/io/modules/sys/service/SysDeptService.java
闵宪瑞 12f367e96e ``
2025-05-19 18:26:04 +08:00

35 lines
598 B
Java
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

package io.modules.sys.service;
import io.common.service.BaseService;
import io.modules.sys.dto.SysDeptDTO;
import io.modules.sys.entity.SysDeptEntity;
import java.util.List;
import java.util.Map;
/**
* 部门管理
*
*/
public interface SysDeptService extends BaseService<SysDeptEntity> {
List<SysDeptDTO> list(Map<String, Object> params);
SysDeptDTO get(Long id);
void save(SysDeptDTO dto);
void update(SysDeptDTO dto);
void delete(Long id);
/**
* 根据部门ID获取本部门及子部门ID列表
* @param id 部门ID
*/
List<Long> getSubDeptIdList(Long id);
}