class DepartmentManagementImpl implements DepartmentManagementService {

    public CommonResult listDoctorDepartments(){
        JSONObject returnJson = new JSONObject();

        List<HashMap> departments = departmentMapper.listDoctorDepartments();

        returnJson.put("departments", departments);
        return CommonResult.success(returnJson);
    }

}