更新10.10

This commit is contained in:
许允枞 2024-10-10 09:23:33 +08:00
parent f2dfbdcca3
commit 85fce1ac22

View File

@ -310,7 +310,7 @@ public class IntegralSettingsServiceImpl implements IntegralSettingsService {
// if (dayInt > 8 && 8< jsonArray.size()) { // if (dayInt > 8 && 8< jsonArray.size()) {
// extracted(ljUserVos, jsonArray, dayInt); // extracted(ljUserVos, jsonArray, dayInt);
// } else if (dayInt >= 1 && dayInt <= jsonArray.size()) { // } 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("dayInt: " + dayInt);
// System.out.println("jsonArray size: " + jsonArray.size()); // System.out.println("jsonArray size: " + jsonArray.size());
if (dayInt >= 6) { if (dayInt >= 7) {
jsonObject = jsonArray.getJSONObject(6); jsonObject = jsonArray.getJSONObject(6);
} else { } else {
jsonObject = jsonArray.getJSONObject(dayInt); jsonObject = jsonArray.getJSONObject(dayInt);
} }
break; break;
case 1: case 1:
if (dayInt >= 13) { if (dayInt >= 14) {
jsonObject = jsonArray.getJSONObject(13); jsonObject = jsonArray.getJSONObject(13);
}else { }else {
jsonObject = jsonArray.getJSONObject(dayInt); jsonObject = jsonArray.getJSONObject(dayInt);
} }
break; break;
case 2: case 2:
if (dayInt >= 29) { if (dayInt >= 30) {
jsonObject = jsonArray.getJSONObject(29); jsonObject = jsonArray.getJSONObject(29);
}else { }else {
jsonObject = jsonArray.getJSONObject(dayInt); jsonObject = jsonArray.getJSONObject(dayInt);