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);