Bläddra i källkod

fix 事务导致查询错误

18339543638 3 år sedan
förälder
incheckning
dd4c5b4035

+ 1 - 4
nb-service/web-service/src/main/java/com/nb/web/service/bus/service/LocalBusPatientService.java

@@ -272,10 +272,7 @@ public class LocalBusPatientService extends BaseService<BusPatientMapper, BusPat
         patient.setId(existPatient.getId());
         this.updateById(patient);
         patientOperator.setClinicId(patient.getClinicId());
-
-        CompletableFuture.runAsync(() -> {
-            wsPublishUtils.publishPatientMonitor(originPatientInfo.getId(), patient.getTenantId());
-        });
+        wsPublishUtils.publishPatientMonitor(originPatientInfo.getId(), patient.getTenantId());
     }
 
     /**