package com.goafanti.admin.service; import com.goafanti.admin.bo.DepartmentComboBox; import com.goafanti.common.model.Department; import com.goafanti.common.model.WorkingHours; import java.util.List; public interface DepartmentService { int addWorkingHours(WorkingHours in); int deleteWorkingHours(Integer id); Object selectWorkingHours(); Object getWorkingHours(String depId); boolean checkWorkingHoursType(Integer type); boolean checkDepWorkingHouresType(Integer id); /** * 查询分管部门、查询管理部门 * @return */ List selectMyDeps(); /** * 查出部门,及下级部门 * @param subId 部门编号 * @param type 0=包含本部门,1不包含本部门 * @param myShiro 0=正常,1=只看我相关部门 */ List selectSubDeps(String subId,Integer type,Integer myShiro); List selectSubDeps(String subId,Integer type); List selectSubDeps(String subId); List getLowerDep(String depIds); List selectAllDep(); }