From 178b4ee9f38a8b38b1cb5321fee25a6038b39df9 Mon Sep 17 00:00:00 2001 From: fuliqi <fuliqi@qq.com> Date: 星期三, 19 二月 2025 11:05:28 +0800 Subject: [PATCH] 中标单位id设为null --- common/src/main/java/com/ycl/common/enums/business/FileTypeEnum.java | 16 ++++++++++++---- 1 files changed, 12 insertions(+), 4 deletions(-) diff --git a/common/src/main/java/com/ycl/common/enums/business/FileTypeEnum.java b/common/src/main/java/com/ycl/common/enums/business/FileTypeEnum.java index 7b5ef08..88a8fe9 100644 --- a/common/src/main/java/com/ycl/common/enums/business/FileTypeEnum.java +++ b/common/src/main/java/com/ycl/common/enums/business/FileTypeEnum.java @@ -1,5 +1,6 @@ package com.ycl.common.enums.business; +import com.baomidou.mybatisplus.annotation.EnumValue; import com.fasterxml.jackson.annotation.JsonValue; import lombok.Getter; @@ -11,14 +12,21 @@ */ @Getter public enum FileTypeEnum { - PROJECT_INFO("project_info", "椤圭洰鍩烘湰淇℃伅"); + PROJECT_INFO("project_info", "椤圭洰鍩烘湰淇℃伅"), + INVEST_POLICY("invest_policy","鎶曡祫椤圭洰浜т笟鏀跨瓥绗﹀悎鎯呭喌"), + DOCUMENT_INFO("document_info","鐩稿叧鏂囦欢"), + PROJECT_COMPLETE_REPORT("project_complete_report", "椤圭洰绔e伐鎶ュ憡"), + PROJECT_SITUATION_DESCRIPTION("project_situation_description", "椤圭洰鎯呭喌璇存槑"), + PROJECT_PROGRESS_INFO_REPORT("project_progress_info_report", "椤圭洰杩涘害璁″垝椤逛笂鎶�"); - private final String code; + @EnumValue // 鏍囨槑璇ュ瓧娈靛瓨鍏ユ暟鎹簱 + private final String type; + @JsonValue // 鏍囨槑鍦ㄨ浆JSON鏃朵娇鐢ㄨ瀛楁 private final String desc; - FileTypeEnum(String code, String desc) { - this.code = code; + FileTypeEnum(String type, String desc) { + this.type = type; this.desc = desc; } } -- Gitblit v1.8.0