|
@@ -10,7 +10,7 @@ import com.deepoove.poi.data.style.ParagraphStyle;
|
|
import com.deepoove.poi.data.style.RowStyle;
|
|
import com.deepoove.poi.data.style.RowStyle;
|
|
import com.google.gson.reflect.TypeToken;
|
|
import com.google.gson.reflect.TypeToken;
|
|
import com.qmth.distributed.print.business.bean.dto.ExamStudentDto;
|
|
import com.qmth.distributed.print.business.bean.dto.ExamStudentDto;
|
|
-import com.qmth.distributed.print.business.service.ExamStudentService;
|
|
|
|
|
|
+import com.qmth.distributed.print.business.service.BasicExamStudentService;
|
|
import com.qmth.teachcloud.common.contant.SystemConstant;
|
|
import com.qmth.teachcloud.common.contant.SystemConstant;
|
|
import com.qmth.teachcloud.common.entity.*;
|
|
import com.qmth.teachcloud.common.entity.*;
|
|
import com.qmth.teachcloud.common.enums.ExceptionResultEnum;
|
|
import com.qmth.teachcloud.common.enums.ExceptionResultEnum;
|
|
@@ -76,9 +76,6 @@ public class TRBasicInfoServiceImpl extends ServiceImpl<TRBasicInfoMapper, TRBas
|
|
@Resource
|
|
@Resource
|
|
ObeCourseWeightService obeCourseWeightService;
|
|
ObeCourseWeightService obeCourseWeightService;
|
|
|
|
|
|
- @Resource
|
|
|
|
- ExamStudentService examStudentService;
|
|
|
|
-
|
|
|
|
@Resource
|
|
@Resource
|
|
BasicCourseService basicCourseService;
|
|
BasicCourseService basicCourseService;
|
|
|
|
|
|
@@ -94,6 +91,9 @@ public class TRBasicInfoServiceImpl extends ServiceImpl<TRBasicInfoMapper, TRBas
|
|
@Resource
|
|
@Resource
|
|
SysOrgService sysOrgService;
|
|
SysOrgService sysOrgService;
|
|
|
|
|
|
|
|
+ @Resource
|
|
|
|
+ BasicExamStudentService basicExamStudentService;
|
|
|
|
+
|
|
protected static final String tbBgColor = "F2F2F2";
|
|
protected static final String tbBgColor = "F2F2F2";
|
|
protected static final String tbPercentWidth = "100%";
|
|
protected static final String tbPercentWidth = "100%";
|
|
protected static final String[] scoreTitles = new String[]{"100-90", "89-80", "79-70", "69-60", "<60"};
|
|
protected static final String[] scoreTitles = new String[]{"100-90", "89-80", "79-70", "69-60", "<60"};
|
|
@@ -447,8 +447,9 @@ public class TRBasicInfoServiceImpl extends ServiceImpl<TRBasicInfoMapper, TRBas
|
|
|
|
|
|
String teachingObject = Objects.nonNull(trBasicInfo) ? trBasicInfo.getTeachingObject() : null, teacher = Objects.nonNull(trBasicInfo) ? trBasicInfo.getTeacher() : null;
|
|
String teachingObject = Objects.nonNull(trBasicInfo) ? trBasicInfo.getTeachingObject() : null, teacher = Objects.nonNull(trBasicInfo) ? trBasicInfo.getTeacher() : null;
|
|
if (Objects.nonNull(markPaper.getPaperNumber())) {
|
|
if (Objects.nonNull(markPaper.getPaperNumber())) {
|
|
- ExamStudentDto examStudentDto = examStudentService.queryExamStudent(markPaper.getExamId(), markPaper.getCourseCode(), markPaper.getPaperNumber());
|
|
|
|
|
|
+ ExamStudentDto examStudentDto = basicExamStudentService.queryExamStudent(markPaper.getExamId(), courseId, markPaper.getPaperNumber());
|
|
teacher = Objects.nonNull(examStudentDto) ? examStudentDto.getTeacherNames() : null;
|
|
teacher = Objects.nonNull(examStudentDto) ? examStudentDto.getTeacherNames() : null;
|
|
|
|
+ teachingObject = Objects.nonNull(examStudentDto) ? examStudentDto.getClazzNames() : null;
|
|
}
|
|
}
|
|
|
|
|
|
ObeCultureProgram obeCultureProgram = obeCultureProgramService.getById(obeCourseOutline.getCultureProgramId());
|
|
ObeCultureProgram obeCultureProgram = obeCultureProgramService.getById(obeCourseOutline.getCultureProgramId());
|