yin 10 ماه پیش
والد
کامیت
0c631ed127

+ 6 - 2
stmms-web/src/main/java/cn/com/qmth/stmms/admin/exam/RejectController.java

@@ -95,7 +95,9 @@ public class RejectController extends BaseExamController {
             group.setQuestionList(questionService.findByExamAndSubjectAndObjectiveAndGroupNumber(examId,
                     group.getSubjectCode(), false, group.getNumber()));
             library.setTitle(group.getTitle());
-            library.setMarkerScoreList(library.getMarkerScoreList().replace(UN_SELECTIVE_SCORE, "/"));
+            if(library.getMarkerScoreList()!=null){
+                library.setMarkerScoreList(library.getMarkerScoreList().replace(UN_SELECTIVE_SCORE, "/"));
+            }
         }
 
         model.addAttribute("query", query);
@@ -148,7 +150,9 @@ public class RejectController extends BaseExamController {
             group.setQuestionList(questionService.findByExamAndSubjectAndObjectiveAndGroupNumber(examId,
                     group.getSubjectCode(), false, group.getNumber()));
             h.setTitle(group.getTitle());
-            h.setScoreList(h.getScoreList().replace(UN_SELECTIVE_SCORE, "/"));
+            if(h.getScoreList()!=null){
+                h.setScoreList(h.getScoreList().replace(UN_SELECTIVE_SCORE, "/"));
+            }
         }
         model.addAttribute("query", query);
         model.addAttribute("subjectList", getExamSubject(examId, wu));

+ 1 - 1
stmms-web/src/main/webapp/WEB-INF/views/modules/exam/markInfo.jsp

@@ -89,7 +89,7 @@
 		<c:forEach items="${resultList}" var="result">
 			<tr>
 				<td>
-					<c:if test="${result.selectiveError}">
+					<c:if test="${!result.selectiveError}">
 					<input type="checkbox" class="codes" name="codes" value="${result.subject.code}">
 					</c:if>
 					${result.subject.code}-${result.subject.name}&nbsp;${result.subject.remark}