@@ -110,7 +110,7 @@ public class ExportPaperServiceImpl implements ExportPaperService{
@Override
public void exportPaperFile(String paperId,String serviceName,String exportContentList,HttpServletResponse response,String loginName, String examType) throws Exception {
- ExportPaperAbstractService exportPaperAbstractService = (ExportPaperAbstractService) SpringContextUtils.getBeanById("sxsfExportPaperService");
+ ExportPaperAbstractService exportPaperAbstractService = (ExportPaperAbstractService) SpringContextUtils.getBeanById(serviceName);
//根据试卷id查询试卷
Paper paper = paperRepo.findOne(paperId);
List<Paper> papers = new ArrayList<Paper>();