|
@@ -1906,8 +1906,6 @@ public class ExamTaskServiceImpl extends ServiceImpl<ExamTaskMapper, ExamTask> i
|
|
|
|
|
|
// 3.ApprovalInfo部分
|
|
|
Boolean review = examTask.getReview();
|
|
|
- final String remark = "通过";
|
|
|
- final String link = ",";
|
|
|
List<ApprovalInfo> approvalInfoList = new ArrayList<>();
|
|
|
if (review) {
|
|
|
approvalInfoList = tfFlowLogService.findApprovalInfoByFlowId(flowId);
|
|
@@ -2445,6 +2443,12 @@ public class ExamTaskServiceImpl extends ServiceImpl<ExamTaskMapper, ExamTask> i
|
|
|
packageCode = packageCodeList.get(0);
|
|
|
}
|
|
|
|
|
|
+ List<String> printHourseNameList = examPackageDetailCell.stream().map(ExamPackageDetail::getPrintHouseName).distinct().collect(Collectors.toList());
|
|
|
+ String printHourseName = "";
|
|
|
+ if (printHourseNameList.size() > 0) {
|
|
|
+ printHourseName = printHourseNameList.get(0);
|
|
|
+ }
|
|
|
+
|
|
|
List<BackupMethodEnum> backupMethodEnums = examPackageDetailCell.stream().map(ExamPackageDetail::getBackupMethod).distinct().collect(Collectors.toList());
|
|
|
if (backupMethodEnums.size() != 1 && backupMethodEnums.get(0) != BackupMethodEnum.ROOM) {
|
|
|
throw ExceptionResultEnum.ERROR.exception("印刷计划试卷备份方式必须按考场");
|
|
@@ -2491,6 +2495,7 @@ public class ExamTaskServiceImpl extends ServiceImpl<ExamTaskMapper, ExamTask> i
|
|
|
examRoomInfo.setClazzNames(classNames);
|
|
|
examRoomInfo.setStudentCount(studentCount);
|
|
|
examRoomInfo.setPrintCount(printCount);
|
|
|
+ examRoomInfo.setPrintHouseName(printHourseName);
|
|
|
examRoomInfoList.add(examRoomInfo);
|
|
|
}
|
|
|
}
|