From b82ba2a29aa9ee181c707677157d8057fff68450 Mon Sep 17 00:00:00 2001 From: dengzedong <dengzedong@email> Date: 星期一, 16 十二月 2024 13:50:33 +0800 Subject: [PATCH] 预测项数据图表查询bug,不能从缓存中查item,要最新的运行时间 --- iailab-module-system/iailab-module-system-api/src/main/java/com/iailab/module/system/api/tenant/TenantApi.java | 5 ++++- 1 files changed, 4 insertions(+), 1 deletions(-) diff --git a/iailab-module-system/iailab-module-system-api/src/main/java/com/iailab/module/system/api/tenant/TenantApi.java b/iailab-module-system/iailab-module-system-api/src/main/java/com/iailab/module/system/api/tenant/TenantApi.java index 90cc16c..5e4db65 100644 --- a/iailab-module-system/iailab-module-system-api/src/main/java/com/iailab/module/system/api/tenant/TenantApi.java +++ b/iailab-module-system/iailab-module-system-api/src/main/java/com/iailab/module/system/api/tenant/TenantApi.java @@ -3,6 +3,7 @@ import com.iailab.framework.common.pojo.CommonResult; import com.iailab.module.system.api.tenant.dto.TenantDataSourceConfigRespDTO; import com.iailab.module.system.enums.ApiConstants; +import io.swagger.v3.oas.annotations.Parameters; import io.swagger.v3.oas.annotations.tags.Tag; import io.swagger.v3.oas.annotations.Parameter; import io.swagger.v3.oas.annotations.Operation; @@ -29,7 +30,9 @@ @GetMapping(PREFIX + "/data-source") @Operation(summary = "获得租户的数据源配置") - @Parameter(name = "tenantId", description = "租户编号", required = true, example = "1024") + @Parameters( + @Parameter(name = "tenantId", description = "租户编号", example = "2", required = true) + ) TenantDataSourceConfigRespDTO getTenantDataSourceConfig(@RequestParam("tenantId") Long tenantId); } -- Gitblit v1.9.3