|
|
@@ -491,9 +491,11 @@ public class ExamService {
|
|
|
examinee.setPaperId(paper.getId());
|
|
|
examinee.setState(ExamineeStatus.Sign.getVal());
|
|
|
examinee.setDuration(0L);
|
|
|
- JSONObject info = new JSONObject();
|
|
|
- info.put("paperName", paper.getPaperName());
|
|
|
- examinee.setPaperInfo(info.toJSONString());
|
|
|
+ if(StringUtils.isBlank(examinee.getPaperInfo())) { // 定向有自己的专业信息,否则使用卷名称
|
|
|
+ JSONObject info = new JSONObject();
|
|
|
+ info.put("paperName", paper.getPaperName());
|
|
|
+ examinee.setPaperInfo(info.toJSONString());
|
|
|
+ }
|
|
|
examineeMapper.insertLearnExaminee(examinee);
|
|
|
AnswerSheet answerSheet = buildAnswerSheet(paper, examinee, null);
|
|
|
answerSheet.setSubjectId(paper.getSubjectId());
|