@Test public void testGetPatientResultInfo() throws Exception { }
@Override public CommonResult getPatientResultInfo(Integer caseId){ JSONObject returnJson = new JSONObject(); returnJson.put("基本信息", preliminaryCaseService.getPatientCaseInfo(1, caseId).getData()); returnJson.put("检查结果", inspectionMapper.getResult(caseId)); returnJson.put("检验结果", examinationMapper.getResult(caseId)); returnJson.put("处置信息", treatmentMapper.getInfo(caseId)); returnJson.put("处方信息", recipeMapper.getInfo(caseId)); return CommonResult.success(returnJson); }
PatientInfoServiceImpl implements PatientInfoService { @Override public CommonResult getPatientResultInfo(Integer caseId){ JSONObject returnJson = new JSONObject(); returnJson.put("基本信息", preliminaryCaseService.getPatientCaseInfo(1, caseId).getData()); returnJson.put("检查结果", inspectionMapper.getResult(caseId)); returnJson.put("检验结果", examinationMapper.getResult(caseId)); returnJson.put("处置信息", treatmentMapper.getInfo(caseId)); returnJson.put("处方信息", recipeMapper.getInfo(caseId)); return CommonResult.success(returnJson); } }
PatientInfoServiceImpl implements PatientInfoService { @Override public CommonResult getPatientResultInfo(Integer caseId){ JSONObject returnJson = new JSONObject(); returnJson.put("基本信息", preliminaryCaseService.getPatientCaseInfo(1, caseId).getData()); returnJson.put("检查结果", inspectionMapper.getResult(caseId)); returnJson.put("检验结果", examinationMapper.getResult(caseId)); returnJson.put("处置信息", treatmentMapper.getInfo(caseId)); returnJson.put("处方信息", recipeMapper.getInfo(caseId)); return CommonResult.success(returnJson); }  }
PatientInfoServiceImpl implements PatientInfoService { @Override public CommonResult getPatientResultInfo(Integer caseId){ JSONObject returnJson = new JSONObject(); returnJson.put("基本信息", preliminaryCaseService.getPatientCaseInfo(1, caseId).getData()); returnJson.put("检查结果", inspectionMapper.getResult(caseId)); returnJson.put("检验结果", examinationMapper.getResult(caseId)); returnJson.put("处置信息", treatmentMapper.getInfo(caseId)); returnJson.put("处方信息", recipeMapper.getInfo(caseId)); return CommonResult.success(returnJson); }  @Override CommonResult getPatientInfo(Integer id); @Override CommonResult listRegistrationsByPatientId(Integer patientId); @Override CommonResult getPatientResultInfo(Integer caseId); @Override CommonResult getWaitingAmountById(Integer patientId); }
PatientInfoServiceImpl implements PatientInfoService { @Override public CommonResult getPatientResultInfo(Integer caseId){ JSONObject returnJson = new JSONObject(); returnJson.put("基本信息", preliminaryCaseService.getPatientCaseInfo(1, caseId).getData()); returnJson.put("检查结果", inspectionMapper.getResult(caseId)); returnJson.put("检验结果", examinationMapper.getResult(caseId)); returnJson.put("处置信息", treatmentMapper.getInfo(caseId)); returnJson.put("处方信息", recipeMapper.getInfo(caseId)); return CommonResult.success(returnJson); }  @Override CommonResult getPatientInfo(Integer id); @Override CommonResult listRegistrationsByPatientId(Integer patientId); @Override CommonResult getPatientResultInfo(Integer caseId); @Override CommonResult getWaitingAmountById(Integer patientId);  }