|
@@ -267,7 +267,7 @@ public class CoreController extends BaseApiController {
|
|
|
for (ExamStudent student : query.getResult()) {
|
|
|
JSONObject obj = new JSONObject();
|
|
|
obj.accumulate("examId", exam.getId());
|
|
|
- obj.accumulate("examCode", exam.getCode());
|
|
|
+ obj.accumulate("examCode", StringUtils.trimToEmpty(exam.getCode()));
|
|
|
obj.accumulate("examNumber", student.getExamNumber());
|
|
|
obj.accumulate("studentCode", student.getStudentCode());
|
|
|
obj.accumulate("name", student.getName());
|