|
|
@@ -180,6 +180,7 @@ public class HisScriptSession {
|
|
|
}
|
|
|
DeferredResult<R<BusClinicEntity>> result = new DeferredResult<>(unit.toMillis(timeout));
|
|
|
if(!online){
|
|
|
+ log.warn("医院【{}】不在线,拉取【{}】信息失败,是否为用户拉取【{}】,拉取方式【异步】",hospitalId,patientCode,needResult);
|
|
|
BusPatientEntity patient = patientService.getOneByHospitalAndPatientCode(hospitalId, patientCode);
|
|
|
BusClinicEntity clinic = clinicService.getById(patient.getClinicId());
|
|
|
result.setResult(R.success(clinic));
|