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 {