|
@@ -243,7 +243,7 @@ public class ReportSubjectRangeController extends BaseExamController {
|
|
|
private int getSumCount(JSONObject jsonObject, int start, int end) {
|
|
|
int sumCount = 0;
|
|
|
int currentCount = 0;
|
|
|
- if (start <= end) {
|
|
|
+ if (start < end) {
|
|
|
for (int i = start; i < end; i++) {
|
|
|
currentCount = jsonObject.getInt(String.valueOf(i));
|
|
|
sumCount = sumCount + currentCount;
|