@Test public void testGetPatientInfo() throws Exception { }
public CommonResult getPatientInfo(Integer registrationId) { Patient patient = patientMapper.getPatientByRegistrationId(registrationId); if(patient != null) return CommonResult.success(patient); else return CommonResult.fail(E_702); }
PatientServiceImpl implements com.neuedu.hospitalbackend.service.serviceinterface.commonservice.PatientService { public CommonResult getPatientInfo(Integer registrationId) { Patient patient = patientMapper.getPatientByRegistrationId(registrationId); if(patient != null) return CommonResult.success(patient); else return CommonResult.fail(E_702); } }
PatientServiceImpl implements com.neuedu.hospitalbackend.service.serviceinterface.commonservice.PatientService { public CommonResult getPatientInfo(Integer registrationId) { Patient patient = patientMapper.getPatientByRegistrationId(registrationId); if(patient != null) return CommonResult.success(patient); else return CommonResult.fail(E_702); }  }
PatientServiceImpl implements com.neuedu.hospitalbackend.service.serviceinterface.commonservice.PatientService { public CommonResult getPatientInfo(Integer registrationId) { Patient patient = patientMapper.getPatientByRegistrationId(registrationId); if(patient != null) return CommonResult.success(patient); else return CommonResult.fail(E_702); }  CommonResult getPatientInfo(Integer registrationId); @Override CommonResult getRegistrationInfo(Integer registrationId); }
PatientServiceImpl implements com.neuedu.hospitalbackend.service.serviceinterface.commonservice.PatientService { public CommonResult getPatientInfo(Integer registrationId) { Patient patient = patientMapper.getPatientByRegistrationId(registrationId); if(patient != null) return CommonResult.success(patient); else return CommonResult.fail(E_702); }  CommonResult getPatientInfo(Integer registrationId); @Override CommonResult getRegistrationInfo(Integer registrationId);  }