|
@@ -613,7 +613,7 @@ public class PaperController extends ControllerSupport {
|
|
if (esm == null) {
|
|
if (esm == null) {
|
|
esm = exportServiceManageRepo.findByOrgName("山东大学");
|
|
esm = exportServiceManageRepo.findByOrgName("山东大学");
|
|
}
|
|
}
|
|
- ExportPaperAbstractService exportPaperAbstractService = (ExportPaperAbstractService) SpringContextUtils.getBeanById(esm.getExportServiceName());
|
|
|
|
|
|
+ ExportPaperAbstractService exportPaperAbstractService = (ExportPaperAbstractService) SpringContextUtils.getBeanById("sddxExportPaperService");
|
|
PaperExp paper = exportPaperAbstractService.previewPDF(paperId);
|
|
PaperExp paper = exportPaperAbstractService.previewPDF(paperId);
|
|
model.addAttribute("htmlList", JsonUtil.toJson(ParsePaper.convertAnswerHtml(paper)));
|
|
model.addAttribute("htmlList", JsonUtil.toJson(ParsePaper.convertAnswerHtml(paper)));
|
|
model.addAttribute("courseNo", paper.getCourseNo());
|
|
model.addAttribute("courseNo", paper.getCourseNo());
|