| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748 |
- 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<Department> selectMyDeps();
- /**
- * 查出部门,及下级部门
- * @param subId 部门编号
- * @param type 0=包含本部门,1不包含本部门
- * @param myShiro 0=正常,1=只看我相关部门
- */
- List<Department> selectSubDeps(String subId,Integer type,Integer myShiro);
- List<Department> selectSubDeps(String subId,Integer type);
- List<Department> selectSubDeps(String subId);
- List<Department> getLowerDep(String depIds);
- List<DepartmentComboBox> selectAllDep();
- }
|