|
@@ -127,7 +127,7 @@ public class ExamStudentController extends BaseApiController {
|
|
obj.accumulate("id", student.getId());
|
|
obj.accumulate("id", student.getId());
|
|
obj.accumulate("schoolId", student.getSchoolId());
|
|
obj.accumulate("schoolId", student.getSchoolId());
|
|
obj.accumulate("examNumber", student.getExamNumber());
|
|
obj.accumulate("examNumber", student.getExamNumber());
|
|
- obj.accumulate("campusCode", "0");
|
|
|
|
|
|
+ obj.accumulate("campusCode", "");
|
|
obj.accumulate("campusName", StringUtils.trimToEmpty(student.getCampusName()));
|
|
obj.accumulate("campusName", StringUtils.trimToEmpty(student.getCampusName()));
|
|
obj.accumulate("subjectCode", student.getSubjectCode());
|
|
obj.accumulate("subjectCode", student.getSubjectCode());
|
|
obj.accumulate("subjectName", student.getSubjectName());
|
|
obj.accumulate("subjectName", student.getSubjectName());
|
|
@@ -147,10 +147,13 @@ public class ExamStudentController extends BaseApiController {
|
|
student.getObjectiveScore() == null ? "" : format.format(student.getObjectiveScore()));
|
|
student.getObjectiveScore() == null ? "" : format.format(student.getObjectiveScore()));
|
|
obj.accumulate("subjectiveScore",
|
|
obj.accumulate("subjectiveScore",
|
|
student.getSubjectiveScore() == null ? "" : format.format(student.getSubjectiveScore()));
|
|
student.getSubjectiveScore() == null ? "" : format.format(student.getSubjectiveScore()));
|
|
|
|
+ obj.accumulate("subjectiveStatus", student.getSubjectiveStatus().toString());
|
|
obj.accumulate("examSite", StringUtils.trimToEmpty(student.getExamSite()));
|
|
obj.accumulate("examSite", StringUtils.trimToEmpty(student.getExamSite()));
|
|
obj.accumulate("examRoom", StringUtils.trimToEmpty(student.getExamRoom()));
|
|
obj.accumulate("examRoom", StringUtils.trimToEmpty(student.getExamRoom()));
|
|
obj.accumulate("remark", StringUtils.trimToEmpty(student.getRemark()));
|
|
obj.accumulate("remark", StringUtils.trimToEmpty(student.getRemark()));
|
|
- obj.accumulate("campusCode", "");
|
|
|
|
|
|
+ obj.accumulate("college", StringUtils.trimToEmpty(student.getCollege()));
|
|
|
|
+ obj.accumulate("className", StringUtils.trimToEmpty(student.getClassName()));
|
|
|
|
+ obj.accumulate("teacher", StringUtils.trimToEmpty(student.getTeacher()));
|
|
|
|
|
|
try {
|
|
try {
|
|
if (withScoreDetail != null && withScoreDetail.booleanValue()) {
|
|
if (withScoreDetail != null && withScoreDetail.booleanValue()) {
|