From 426f243eebe94344c51a2f9126c27d1ed7548596 Mon Sep 17 00:00:00 2001 From: Devli <5003188+lide1202@user.noreply.gitee.com> Date: Mon, 26 Aug 2024 09:21:45 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=A0=E9=99=A4swagger=E7=9B=B8=E5=85=B3?= =?UTF-8?q?=E6=B3=A8=E8=A7=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../controller/ReportExcelController.java | 4 ++-- .../modules/reportexcel/dao/entity/ReportExcel.java | 13 ++++++------- 2 files changed, 8 insertions(+), 9 deletions(-) diff --git a/report-core/src/main/java/com/anjiplus/template/gaea/business/modules/reportexcel/controller/ReportExcelController.java b/report-core/src/main/java/com/anjiplus/template/gaea/business/modules/reportexcel/controller/ReportExcelController.java index 6a77d0f4..4d24b848 100644 --- a/report-core/src/main/java/com/anjiplus/template/gaea/business/modules/reportexcel/controller/ReportExcelController.java +++ b/report-core/src/main/java/com/anjiplus/template/gaea/business/modules/reportexcel/controller/ReportExcelController.java @@ -12,7 +12,7 @@ import com.anjiplus.template.gaea.business.modules.reportexcel.dao.entity.Report import com.anjiplus.template.gaea.business.modules.reportexcel.service.ReportExcelService; import com.anjiplus.template.gaea.business.modules.reportshare.controller.dto.ReportShareDto; import com.anjiplus.template.gaea.business.modules.reportshare.service.ReportShareService; -import io.swagger.annotations.Api; + import org.springframework.beans.factory.annotation.Autowired; import org.springframework.http.ResponseEntity; import org.springframework.validation.annotation.Validated; @@ -27,7 +27,7 @@ import java.io.IOException; * @date 2021/4/13 15:12 */ @RestController -@Api(tags = "报表表格管理") + @Permission(code = "excelManage", name = "报表管理") @RequestMapping("/reportExcel") public class ReportExcelController extends GaeaBaseController { diff --git a/report-core/src/main/java/com/anjiplus/template/gaea/business/modules/reportexcel/dao/entity/ReportExcel.java b/report-core/src/main/java/com/anjiplus/template/gaea/business/modules/reportexcel/dao/entity/ReportExcel.java index 2fa43ec7..79ac0b37 100644 --- a/report-core/src/main/java/com/anjiplus/template/gaea/business/modules/reportexcel/dao/entity/ReportExcel.java +++ b/report-core/src/main/java/com/anjiplus/template/gaea/business/modules/reportexcel/dao/entity/ReportExcel.java @@ -2,7 +2,6 @@ package com.anjiplus.template.gaea.business.modules.reportexcel.dao.entity; import com.anji.plus.gaea.curd.entity.GaeaBaseEntity; import com.baomidou.mybatisplus.annotation.TableName; -import io.swagger.annotations.ApiModelProperty; import lombok.Data; /** @@ -13,21 +12,21 @@ import lombok.Data; @Data public class ReportExcel extends GaeaBaseEntity { - @ApiModelProperty(value = "报表编码") + /** 报表编码 */ private String reportCode; - @ApiModelProperty(value = "数据集编码,以|分割") + /** 数据集编码,以|分割 */ private String setCodes; - @ApiModelProperty(value = "数据集查询参数") + /** 数据集查询参数 */ private String setParam; - @ApiModelProperty(value = "报表json字符串") + /** 报表json字符串 */ private String jsonStr; - @ApiModelProperty(value = "0--已禁用 1--已启用 DIC_NAME=ENABLE_FLAG") + /** 0--已禁用 1--已启用 DIC_NAME=ENABLE_FLAG */ private Integer enableFlag; - @ApiModelProperty(value = "0--未删除 1--已删除 DIC_NAME=DELETE_FLAG") + /** 0--未删除 1--已删除 DIC_NAME=DELETE_FLAG */ private Integer deleteFlag; }