Browse Source

bug修复

master
luoweijian 2 days ago
parent
commit
83988febed
  1. 3
      src/main/java/com/project/exam/domain/dto/ExamRecordDTO.java
  2. 1
      src/main/java/com/project/exam/domain/service/impl/AssemblePaperDomainServiceImpl.java

3
src/main/java/com/project/exam/domain/dto/ExamRecordDTO.java

@ -39,6 +39,9 @@ public class ExamRecordDTO extends BaseDTO {
private Long subLineId;
private String subLineName;
private Integer remindTimePoint = 10;
private String taskName;
private Integer serialNumber;

1
src/main/java/com/project/exam/domain/service/impl/AssemblePaperDomainServiceImpl.java

@ -190,6 +190,7 @@ public class AssemblePaperDomainServiceImpl implements AssemblePaperDomainServic
recordDTO.setAnswerSnapshotDTOList(buildPaperSnapshot(selectedQuestionList));
recordDTO = examRecordBaseService.saveDTO(recordDTO, ExamRecordEntity::new, ExamRecordDTO::new);
recordDTO.setRemindTimePoint(taskDTO.getRemindTimePoint());
return buildExamRecordDomainService.buildDTO(recordDTO);
}

Loading…
Cancel
Save