From 0571c03740d9069cf761695d0dcadd4d6bc9af0d Mon Sep 17 00:00:00 2001 From: baoshiwei <baoshiwei@shlanbao.cn> Date: 星期四, 19 六月 2025 08:54:19 +0800 Subject: [PATCH] refactor(model): 优化模型相关功能和查询 --- zhitan-common/src/main/java/com/zhitan/common/enums/IndexType.java | 17 +++++++++++++++-- 1 files changed, 15 insertions(+), 2 deletions(-) diff --git a/zhitan-common/src/main/java/com/zhitan/common/enums/IndexType.java b/zhitan-common/src/main/java/com/zhitan/common/enums/IndexType.java index 26110c3..533f8e0 100644 --- a/zhitan-common/src/main/java/com/zhitan/common/enums/IndexType.java +++ b/zhitan-common/src/main/java/com/zhitan/common/enums/IndexType.java @@ -4,9 +4,22 @@ /** * 閲囬泦鎸囨爣 */ - COLLECT, + COLLECT("COLLECT"), /** * 缁熻鎸囨爣 */ - STATISTIC + STATISTIC("STATISTIC"); + + private final String description; + + IndexType(String description) + { + this.description = description; + } + + + public String getDescription() + { + return description; + } } -- Gitblit v1.9.3