|
@@ -64,13 +64,13 @@ public class CoopBatchReportController extends BaseController {
|
|
|
/**
|
|
|
* 导出报表信息列表
|
|
|
*/
|
|
|
- @SaCheckPermission("breeding:coopBatchReport:export")
|
|
|
- @Log(title = "报表信息", businessType = BusinessType.EXPORT)
|
|
|
- @PostMapping("/export")
|
|
|
- public void export(CoopBatchReportBo bo, HttpServletResponse response) {
|
|
|
- List<CoopBatchReportVo> list = coopBatchReportService.queryList(bo);
|
|
|
- ExcelUtil.exportExcel(list, "报表信息", CoopBatchReportVo.class, response);
|
|
|
- }
|
|
|
+// @SaCheckPermission("breeding:coopBatchReport:export")
|
|
|
+// @Log(title = "报表信息", businessType = BusinessType.EXPORT)
|
|
|
+// @PostMapping("/export")
|
|
|
+// public void export(CoopBatchReportBo bo, HttpServletResponse response) {
|
|
|
+// List<CoopBatchReportVo> list = coopBatchReportService.queryList(bo);
|
|
|
+// ExcelUtil.exportExcel(list, "报表信息", CoopBatchReportVo.class, response);
|
|
|
+// }
|
|
|
|
|
|
/**
|
|
|
* 获取报表信息详细信息
|
|
@@ -123,6 +123,16 @@ public class CoopBatchReportController extends BaseController {
|
|
|
return R.ok(coopBatchReportDetailService.queryReport(bo));
|
|
|
}
|
|
|
|
|
|
+ //@SaCheckPermission("breeding:coopBatchReport:export")
|
|
|
+ @Log(title = "报表信息", businessType = BusinessType.EXPORT)
|
|
|
+ @PostMapping("/export")
|
|
|
+ public void export(QueryStaBo bo, HttpServletResponse response) {
|
|
|
+// CoopBatchReportResultVo coopBatchReportResultVo = coopBatchReportDetailService.queryReport(bo);
|
|
|
+//
|
|
|
+// ExcelUtil.exportExcel(list, "报表信息", CoopBatchReportVo.class, response);
|
|
|
+
|
|
|
+ }
|
|
|
+
|
|
|
//@SaCheckPermission("breeding:coopBatchReport:add")
|
|
|
@Log(title = "报表信息", businessType = BusinessType.INSERT)
|
|
|
@PostMapping("/create")
|