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