package com.ruoyi.station.service;
|
|
import java.util.List;
|
|
import com.ruoyi.common.core.domain.Ztree;
|
import com.ruoyi.station.domain.MjDept;
|
import com.ruoyi.system.domain.SysDept;
|
|
/**
|
* 部门Service接口
|
*
|
* @author ruoyi
|
* @date 2020-08-07
|
*/
|
public interface IMjDeptService
|
{
|
/**
|
* 查询部门
|
*
|
* @param id 部门ID
|
* @return 部门
|
*/
|
public MjDept selectMjDeptById(String id);
|
|
/**
|
* 查询部门列表
|
*
|
* @param mjDept 部门
|
* @return 部门集合
|
*/
|
public List<MjDept> selectMjDeptList(MjDept mjDept);
|
|
/**
|
* 新增部门
|
*
|
* @param mjDept 部门
|
* @return 结果
|
*/
|
public int insertMjDept(MjDept mjDept);
|
|
/**
|
* 修改部门
|
*
|
* @param mjDept 部门
|
* @return 结果
|
*/
|
public int updateMjDept(MjDept mjDept);
|
|
/**
|
* 批量删除部门
|
*
|
* @param ids 需要删除的数据ID
|
* @return 结果
|
*/
|
public int deleteMjDeptByIds(String ids);
|
|
/**
|
* 删除部门信息
|
*
|
* @param id 部门ID
|
* @return 结果
|
*/
|
public int deleteMjDeptById(String id);
|
|
String checkDeptNameUnique(MjDept dept);
|
|
List<Ztree> selectDeptTree(MjDept mjDept);
|
}
|