pull/7874/head
EightMonth 2025-03-03 14:27:16 +08:00
parent 7e15e81218
commit 26887959cd
2 changed files with 4 additions and 4 deletions

View File

@ -39,11 +39,11 @@
</#if> </#if>
</#list> </#list>
@Excel(name = "${po.filedComment}", width = 15,replace = {"是_${switch_extend_arr1}","否_${switch_extend_arr2}"} ) @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}; private ${po.fieldType} ${po.fieldName};
<#elseif po.classType=='pca'> <#elseif po.classType=='pca'>
@Excel(name = "${po.filedComment}", width = 15,exportConvert=true,importConvert = true ) @Excel(name = "${po.filedComment}", width = 15,exportConvert=true,importConvert = true )
@ApiModelProperty(value = "${po.filedComment}") @Schema(description = "${po.filedComment}")
private ${po.fieldType} ${po.fieldName}; private ${po.fieldType} ${po.fieldName};
public String convertis${po.fieldName?cap_first}() { public String convertis${po.fieldName?cap_first}() {
@ -56,7 +56,7 @@
<#elseif po.classType=='cat_tree'> <#elseif po.classType=='cat_tree'>
<#assign list_field_dictCode=', dictTable = "sys_category", dicText = "name", dicCode = "id"'> <#assign list_field_dictCode=', dictTable = "sys_category", dicText = "name", dicCode = "id"'>
@Excel(name = "${po.filedComment}", width = 15${list_field_dictCode}) @Excel(name = "${po.filedComment}", width = 15${list_field_dictCode})
@ApiModelProperty(value = "${po.filedComment}") @Schema(description = "${po.filedComment}")
private ${po.fieldType} ${po.fieldName}; private ${po.fieldType} ${po.fieldName};
<#else> <#else>
@Schema(description = "${po.filedComment}") @Schema(description = "${po.filedComment}")

View File

@ -109,7 +109,7 @@ public class ${entityName}Page {
<#list subTables as sub> <#list subTables as sub>
@ExcelCollection(name="${sub.ftlDescription}") @ExcelCollection(name="${sub.ftlDescription}")
@ApiModelProperty(value = "${sub.ftlDescription}") @Schema(description = "${sub.ftlDescription}")
private List<${sub.entityName}> ${sub.entityName?uncap_first}List; private List<${sub.entityName}> ${sub.entityName?uncap_first}List;
</#list> </#list>