From 57e8cb913e881f943bda1926ac6f32077e5d4649 Mon Sep 17 00:00:00 2001 From: wyb <1977763549@qq.com> Date: Mon, 26 Aug 2024 09:56:11 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E5=90=8C=E6=AD=A5?= =?UTF-8?q?=E6=97=B6=E9=97=B4=E5=88=A4=E6=96=AD=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../service/impl/GzZxyJhQcPatientInfoSyncServiceImpl.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/docus/server/archive/service/impl/GzZxyJhQcPatientInfoSyncServiceImpl.java b/src/main/java/com/docus/server/archive/service/impl/GzZxyJhQcPatientInfoSyncServiceImpl.java index b97c26b..ff266db 100644 --- a/src/main/java/com/docus/server/archive/service/impl/GzZxyJhQcPatientInfoSyncServiceImpl.java +++ b/src/main/java/com/docus/server/archive/service/impl/GzZxyJhQcPatientInfoSyncServiceImpl.java @@ -50,7 +50,7 @@ public class GzZxyJhQcPatientInfoSyncServiceImpl implements PatientInfoSyncServi String endDateStr = end.toString(); String startDateStr = start.toString(); int everyDayRetries = 20; - while (endDate.isBefore(startDate)) { + while (!endDate.isBefore(startDate)) { // 同步与重试 String dateStr = startDate.toString(); try {