Jelajahi Sumber

定时任务修改29

yousongbo 4 hari lalu
induk
melakukan
0ae3ed3242

+ 2 - 2
suishenbang-sync/suishenbang-sync-common/src/main/java/com/dgtly/sync/service/ShopUserTypeComponent.java

@@ -115,7 +115,7 @@ public class ShopUserTypeComponent {
                 calendar.set(Calendar.MILLISECOND, 0);
                 SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm");
                 String runTime = sdf.format(calendar.getTime());
-                if (runTime.contains("2025-11-25")){
+                if (runTime.contains("2025-11-29")){
                     runTime = "2025-08-28T00:00";
                 }
                 stoneParams.put("datetime_start", runTime);
@@ -204,7 +204,7 @@ public class ShopUserTypeComponent {
                 SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm");
                 Date date = sdf.parse(truncatedDate);
                 String runTime = sdf.format(date);
-                if (runTime.contains("2025-11-25")){
+                if (runTime.contains("2025-11-29")){
                     runTime = "2025-08-28T00:00";
                 }
                 //获取上次同步时间进行增量同步