From 85fce1ac225418d85f7992f7d916c7194cd05f1c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=AE=B8=E5=85=81=E6=9E=9E?= <3422692813@qq.com> Date: Thu, 10 Oct 2024 09:23:33 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B010.10?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../service/impl/IntegralSettingsServiceImpl.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/fuintBackend/fuint-application/src/main/java/com/fuint/business/integral/service/impl/IntegralSettingsServiceImpl.java b/fuintBackend/fuint-application/src/main/java/com/fuint/business/integral/service/impl/IntegralSettingsServiceImpl.java index 680afd1b1..a23d9fe88 100644 --- a/fuintBackend/fuint-application/src/main/java/com/fuint/business/integral/service/impl/IntegralSettingsServiceImpl.java +++ b/fuintBackend/fuint-application/src/main/java/com/fuint/business/integral/service/impl/IntegralSettingsServiceImpl.java @@ -310,7 +310,7 @@ public class IntegralSettingsServiceImpl implements IntegralSettingsService { // if (dayInt > 8 && 8< jsonArray.size()) { // extracted(ljUserVos, jsonArray, dayInt); // } else if (dayInt >= 1 && dayInt <= jsonArray.size()) { - return extracted(integralSetting, ljUserVos, jsonArray, dayInt - 1); + return extracted(integralSetting, ljUserVos, jsonArray, dayInt); // } } } @@ -488,21 +488,21 @@ public class IntegralSettingsServiceImpl implements IntegralSettingsService { // System.out.println("dayInt: " + dayInt); // System.out.println("jsonArray size: " + jsonArray.size()); - if (dayInt >= 6) { + if (dayInt >= 7) { jsonObject = jsonArray.getJSONObject(6); } else { jsonObject = jsonArray.getJSONObject(dayInt); } break; case 1: - if (dayInt >= 13) { + if (dayInt >= 14) { jsonObject = jsonArray.getJSONObject(13); }else { jsonObject = jsonArray.getJSONObject(dayInt); } break; case 2: - if (dayInt >= 29) { + if (dayInt >= 30) { jsonObject = jsonArray.getJSONObject(29); }else { jsonObject = jsonArray.getJSONObject(dayInt);