mirror of
https://github.com/dataease/dataease.git
synced 2026-05-16 22:41:06 +08:00
38 lines
960 B
Java
38 lines
960 B
Java
package io.dataease.controller.panel;
|
||
|
||
import com.github.xiaoymin.knife4j.annotations.ApiSupport;
|
||
import io.dataease.controller.handler.annotation.I18n;
|
||
import io.dataease.plugins.common.base.domain.PanelPdfTemplate;
|
||
import io.dataease.service.panel.PanelPdfTemplateService;
|
||
import io.swagger.annotations.Api;
|
||
import io.swagger.annotations.ApiOperation;
|
||
import org.springframework.web.bind.annotation.*;
|
||
|
||
import javax.annotation.Resource;
|
||
import java.util.List;
|
||
|
||
|
||
/**
|
||
* Author: wangjiahao
|
||
* Date: 2021-03-05
|
||
* Description:
|
||
*/
|
||
@Api(tags = "仪表板:PDF导出模板")
|
||
@ApiSupport(order = 170)
|
||
@RestController
|
||
@RequestMapping("pdf-template")
|
||
public class PanelPdfTemplateController {
|
||
|
||
@Resource
|
||
private PanelPdfTemplateService panelPdfTemplateService;
|
||
|
||
@GetMapping("queryAll")
|
||
@I18n
|
||
@ApiOperation("查询所有仪表板模板")
|
||
public List<PanelPdfTemplate> queryAll() {
|
||
return panelPdfTemplateService.queryAll();
|
||
}
|
||
|
||
|
||
}
|