From 26887959cdd63309344c5f31e3f5387cd08aafa6 Mon Sep 17 00:00:00 2001 From: EightMonth Date: Mon, 3 Mar 2025 14:27:16 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=20#7613?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../resources/jeecg/code-template-online/common/blob.ftl | 6 +++--- .../${entityPackage}/vo/${entityName}Page.javai | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/jeecg-boot/jeecg-module-system/jeecg-system-biz/src/main/resources/jeecg/code-template-online/common/blob.ftl b/jeecg-boot/jeecg-module-system/jeecg-system-biz/src/main/resources/jeecg/code-template-online/common/blob.ftl index 833f5a7d..eb85ea9c 100644 --- a/jeecg-boot/jeecg-module-system/jeecg-system-biz/src/main/resources/jeecg/code-template-online/common/blob.ftl +++ b/jeecg-boot/jeecg-module-system/jeecg-system-biz/src/main/resources/jeecg/code-template-online/common/blob.ftl @@ -39,11 +39,11 @@ @Excel(name = "${po.filedComment}", width = 15,replace = {"是_${switch_extend_arr1}","否_${switch_extend_arr2}"} ) - @ApiModelProperty(value = "${po.filedComment}") + @Schema(description = "${po.filedComment}") private ${po.fieldType} ${po.fieldName}; <#elseif po.classType=='pca'> @Excel(name = "${po.filedComment}", width = 15,exportConvert=true,importConvert = true ) - @ApiModelProperty(value = "${po.filedComment}") + @Schema(description = "${po.filedComment}") private ${po.fieldType} ${po.fieldName}; public String convertis${po.fieldName?cap_first}() { @@ -56,7 +56,7 @@ <#elseif po.classType=='cat_tree'> <#assign list_field_dictCode=', dictTable = "sys_category", dicText = "name", dicCode = "id"'> @Excel(name = "${po.filedComment}", width = 15${list_field_dictCode}) - @ApiModelProperty(value = "${po.filedComment}") + @Schema(description = "${po.filedComment}") private ${po.fieldType} ${po.fieldName}; <#else> @Schema(description = "${po.filedComment}") diff --git a/jeecg-boot/jeecg-module-system/jeecg-system-biz/src/main/resources/jeecg/code-template-online/inner-table/onetomany/java/${bussiPackage}/${entityPackage}/vo/${entityName}Page.javai b/jeecg-boot/jeecg-module-system/jeecg-system-biz/src/main/resources/jeecg/code-template-online/inner-table/onetomany/java/${bussiPackage}/${entityPackage}/vo/${entityName}Page.javai index 8ae8c7a2..9d851fb2 100644 --- a/jeecg-boot/jeecg-module-system/jeecg-system-biz/src/main/resources/jeecg/code-template-online/inner-table/onetomany/java/${bussiPackage}/${entityPackage}/vo/${entityName}Page.javai +++ b/jeecg-boot/jeecg-module-system/jeecg-system-biz/src/main/resources/jeecg/code-template-online/inner-table/onetomany/java/${bussiPackage}/${entityPackage}/vo/${entityName}Page.javai @@ -109,7 +109,7 @@ public class ${entityName}Page { <#list subTables as sub> @ExcelCollection(name="${sub.ftlDescription}") - @ApiModelProperty(value = "${sub.ftlDescription}") + @Schema(description = "${sub.ftlDescription}") private List<${sub.entityName}> ${sub.entityName?uncap_first}List;