|
@@ -133,23 +133,23 @@ public class ReplacementInstrumentActivityController extends BaseController {
|
|
return succeed(replacementInstrumentActivity);
|
|
return succeed(replacementInstrumentActivity);
|
|
}
|
|
}
|
|
|
|
|
|
- @ApiOperation(value = "导出")
|
|
|
|
- @RequestMapping("/export")
|
|
|
|
- @PreAuthorize("@pcs.hasPermissions('questionnaireUserResult/export')")
|
|
|
|
- public void questionnaireUserResultExport(ReplacementInstrumentActivityQueryInfo queryInfo, HttpServletResponse response) throws Exception {
|
|
|
|
- List<String> questionColumn = questionnaireQuestionDao.findQuestionColumnList(queryInfo.getCooperationId());
|
|
|
|
- if(questionColumn != null && questionColumn.size() > 0){
|
|
|
|
- List<String> column = new ArrayList<>();
|
|
|
|
- column.add("学员编号");
|
|
|
|
- column.add("学员姓名");
|
|
|
|
- column.add("手机号");
|
|
|
|
- column.addAll(questionColumn);
|
|
|
|
- String[] header = column.toArray(new String[column.size()]);
|
|
|
|
-// questionnaireUserResultDao.queryDetailPage()
|
|
|
|
- }else {
|
|
|
|
- throw new BizException("暂无可导出数据");
|
|
|
|
- }
|
|
|
|
- }
|
|
|
|
|
|
+// @ApiOperation(value = "导出")
|
|
|
|
+// @RequestMapping("/export")
|
|
|
|
+// @PreAuthorize("@pcs.hasPermissions('questionnaireUserResult/export')")
|
|
|
|
+// public void questionnaireUserResultExport(ReplacementInstrumentActivityQueryInfo queryInfo, HttpServletResponse response) throws Exception {
|
|
|
|
+// List<String> questionColumn = questionnaireQuestionDao.findQuestionColumnList(queryInfo.getCooperationId());
|
|
|
|
+// if(questionColumn != null && questionColumn.size() > 0){
|
|
|
|
+// List<String> column = new ArrayList<>();
|
|
|
|
+// column.add("学员编号");
|
|
|
|
+// column.add("学员姓名");
|
|
|
|
+// column.add("手机号");
|
|
|
|
+// column.addAll(questionColumn);
|
|
|
|
+// String[] header = column.toArray(new String[column.size()]);
|
|
|
|
+//// questionnaireUserResultDao.queryDetailPage()
|
|
|
|
+// }else {
|
|
|
|
+// throw new BizException("暂无可导出数据");
|
|
|
|
+// }
|
|
|
|
+// }
|
|
|
|
|
|
@ApiOperation(value = "导出")
|
|
@ApiOperation(value = "导出")
|
|
@RequestMapping("/export")
|
|
@RequestMapping("/export")
|