| | |
| | | */ |
| | | public SysDept selectDeptById(Long deptId); |
| | | |
| | | public List<SysDept> selectDeptListByParentId(Long parentId); |
| | | /** |
| | | * 根据ID查询所有子部门 |
| | | * |
| | |
| | | * @return 分公司ID,如果找不到则返回null |
| | | */ |
| | | public Long selectBranchCompanyIdByDeptId(@Param("deptId") Long deptId); |
| | | |
| | | /** |
| | | * 根据编码列表查询分公司 |
| | | * 在service_order_class或dispatch_order_class中匹配 |
| | | * |
| | | * @param orderCodes 编码列表 |
| | | * @return 分公司列表 |
| | | */ |
| | | public List<SysDept> selectBranchCompaniesByOrderCodes(@Param("orderCodes") List<String> orderCodes); |
| | | |
| | | /** |
| | | * 根据service_class查询部门信息 |
| | | * |
| | | * @param serviceClass 服务类别编码 |
| | | * @return 部门信息 |
| | | */ |
| | | public SysDept selectDeptByServiceClass(@Param("serviceClass") String serviceClass); |
| | | } |