### Question:
TechMedicalProjectServiceImpl implements TechMedicalProjectService { @Override public CommonResult listPreparedPatientsByCaseIdOrDateOrName(PatientParam patientParam){ Integer caseId = patientParam.getCaseId(); String patientName = patientParam.getPatientName(); Integer departmentId = patientParam.getDepartmentId(); String chargeDateStr = patientParam.getChargeDateStr(); String projectType = departmentMapper.getClassificationById(departmentId); List<HashMap> waitingPatients; switch (projectType){ case "医学影像科": waitingPatients = inspectionMapper.listPreparedPatientsByCaseIdOrDateOrName(caseId, patientName, chargeDateStr, departmentId); break; case "医技科": waitingPatients = examinationMapper.listPreparedPatientsByCaseIdOrDateOrName(caseId, patientName, chargeDateStr, departmentId); break; case "药剂科": waitingPatients = treatmentMapper.listPreparedPatientsByCaseIdOrDateOrName(caseId, patientName, chargeDateStr, departmentId); break; default: return CommonResult.fail(E_801); } return CommonResult.success(waitingPatients); }  @Override CommonResult listPreparedPatientsByCaseIdOrDateOrName(PatientParam patientParam); @Override CommonResult listAllProjectsByCaseId(PatientParam patientParam); @Override CommonResult listItemsByCollectionIdAndProjectId(ProjectParam projectParam); @Override CommonResult checkInProject(ProjectParam projectParam); @Override CommonResult cancelProject(ProjectParam projectParam); @Override CommonResult listCheckedInButNotRecordedProjects(ProjectParam projectParam); @Override CommonResult recordResult(ProjectParam projectParam); @Override CommonResult showResult(ProjectParam projectParam); CommonResult confirmProject(ProjectParam projectParam);  }### Answer:
@Test public void testListPreparedPatientsByCaseIdOrDateOrName() throws Exception { }