|
@@ -45,6 +45,8 @@ public class CoreController extends BaseApiController {
|
|
|
|
|
|
private static final String PAPER_TYPES_REGEX = "[a-zA-Z#]";
|
|
|
|
|
|
+ public static final int UN_SELECTIVE_SCORE = -1;
|
|
|
+
|
|
|
@Autowired
|
|
|
private ExamService examService;
|
|
|
|
|
@@ -343,6 +345,9 @@ public class CoreController extends BaseApiController {
|
|
|
if (question.getTotalScore() == null || question.getTotalScore() == 0) {
|
|
|
continue;
|
|
|
}
|
|
|
+ if (item.getScore() == UN_SELECTIVE_SCORE) {
|
|
|
+ continue;
|
|
|
+ }
|
|
|
JSONObject detail = new JSONObject();
|
|
|
detail.accumulate("mainNumber", question.getMainNumber());
|
|
|
detail.accumulate("subNumber", question.getSubNumber());
|