SPC/ym-admin/src/main/java/com/cnbm/admin/service/SysDeptService.java
2022-06-20 16:26:51 +08:00

33 lines
677 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 com.cnbm.admin.service;
import com.cnbm.admin.dto.SysDeptDTO;
import com.cnbm.admin.entity.SysDeptEntity;
import com.cnbm.common.service.BaseService;
import java.util.List;
import java.util.Map;
/**
* @Author weihongyang
* @Date 2022/6/10 1:38 PM
* @Version 1.0
*/
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);
}