class DepartmentManagementImpl implements DepartmentManagementService {

    @Override
    public CommonResult getDepartmentById(Integer id) {
        Department department = departmentMapper.get(id);
        return CommonResult.success(department);
    }

}