|
@@ -93,9 +93,9 @@ public class ExamPackageController extends BaseApiController {
|
|
|
obj.accumulate("examRoom", "");
|
|
|
} else {
|
|
|
ExamStudent student = query.getResult().get(0);
|
|
|
- obj.accumulate("examBatch", student.getExamBatch());
|
|
|
- obj.accumulate("examSite", student.getExamSite());
|
|
|
- obj.accumulate("examRoom", student.getExamRoom());
|
|
|
+ obj.accumulate("examBatch", student.getExamBatch()==null?"":student.getExamBatch());
|
|
|
+ obj.accumulate("examSite", student.getExamSite()==null?"":student.getExamSite());
|
|
|
+ obj.accumulate("examRoom", student.getExamRoom()==null?"":student.getExamRoom());
|
|
|
}
|
|
|
array.add(obj);
|
|
|
}
|