• 2024-11-15getDepartmentById方法
    publicDepartmentgetDepartmentById(StringdepartmentId){if(StringUtils.isEmpty(departmentId)){returnnull;}Exampleexample=newExample(Department.class);Example.Criteriacriteria=example.createCriteria();criteria.andEqualTo("departmentId"