|
@@ -111,6 +111,8 @@ public class InspectedController extends BaseExamController {
|
|
|
|
|
|
public static final String UN_SELECTIVE_SCORE = "-1";
|
|
|
|
|
|
+ private static final String DEFAULT_SECRET_NUMBER = "***";
|
|
|
+
|
|
|
@RequestMapping(value = "/list")
|
|
|
public String list(Model model, HttpServletRequest request, InspectQuery query,
|
|
|
@RequestParam(required = false) SubjectiveStatus status,
|
|
@@ -775,6 +777,9 @@ public class InspectedController extends BaseExamController {
|
|
|
mainEndScore, selectiveStatus);
|
|
|
for (ExamStudentVo e : list) {
|
|
|
e.setSubjectiveScoreList(e.getSubjectiveScoreList().replace(UN_SELECTIVE_SCORE, "/"));
|
|
|
+ if (exam.isForbiddenInfo() && !Role.SCHOOL_ADMIN.equals(wu.getRole())) {
|
|
|
+ e.setSecretNumber(DEFAULT_SECRET_NUMBER);
|
|
|
+ }
|
|
|
}
|
|
|
int maxInspectRound = 1;
|
|
|
if (list != null && list.size() > 0) {
|