@Test public void testListDoctorDepartments() throws Exception { }
public CommonResult listDoctorDepartments(){ JSONObject returnJson = new JSONObject(); List<HashMap> departments = departmentMapper.listDoctorDepartments(); returnJson.put("departments", departments); return CommonResult.success(returnJson); }
DepartmentManagementImpl implements DepartmentManagementService { public CommonResult listDoctorDepartments(){ JSONObject returnJson = new JSONObject(); List<HashMap> departments = departmentMapper.listDoctorDepartments(); returnJson.put("departments", departments); return CommonResult.success(returnJson); } }
DepartmentManagementImpl implements DepartmentManagementService { public CommonResult listDoctorDepartments(){ JSONObject returnJson = new JSONObject(); List<HashMap> departments = departmentMapper.listDoctorDepartments(); returnJson.put("departments", departments); return CommonResult.success(returnJson); }  }
DepartmentManagementImpl implements DepartmentManagementService { public CommonResult listDoctorDepartments(){ JSONObject returnJson = new JSONObject(); List<HashMap> departments = departmentMapper.listDoctorDepartments(); returnJson.put("departments", departments); return CommonResult.success(returnJson); }  @Override CommonResult getDepartmentById(Integer id); @Override CommonResult insertDepartment(Department department); @Override CommonResult updateDepartmentById(Department department); @Override CommonResult deleteDepartmentById(Integer id); @Override CommonResult listAllDepartments(); @Override CommonResult listPage(Integer pageNum, Integer pageSize); @Override CommonResult listDepartmentsTree(); CommonResult listDoctorDepartments(); }
DepartmentManagementImpl implements DepartmentManagementService { public CommonResult listDoctorDepartments(){ JSONObject returnJson = new JSONObject(); List<HashMap> departments = departmentMapper.listDoctorDepartments(); returnJson.put("departments", departments); return CommonResult.success(returnJson); }  @Override CommonResult getDepartmentById(Integer id); @Override CommonResult insertDepartment(Department department); @Override CommonResult updateDepartmentById(Department department); @Override CommonResult deleteDepartmentById(Integer id); @Override CommonResult listAllDepartments(); @Override CommonResult listPage(Integer pageNum, Integer pageSize); @Override CommonResult listDepartmentsTree(); CommonResult listDoctorDepartments();  }