Revert "!6 fix: 代码生成字段和模板引用包缺失问题修复"

This reverts commit 4f6bd537d2.
This commit is contained in:
郝先瑞
2024-07-24 11:59:08 +00:00
committed by Gitee
parent 4f6bd537d2
commit 34d6f6e375
38 changed files with 136 additions and 1076 deletions

View File

@@ -23,14 +23,13 @@ import com.youlai.system.common.base.BaseEntity;
public class ${entityName} extends BaseEntity {
private static final long serialVersionUID = 1L;
#if($fieldConfigs)
#foreach($fieldConfig in ${fieldConfigs})
#if("$!fieldConfig.fieldComment" != "")
#foreach($field in ${table.fields})
#if("$!field.comment" != "")
/**
* ${fieldConfig.fieldComment}
* ${field.comment}
*/
#end
private ${fieldConfig.fieldType} ${fieldConfig.fieldName};
#end
#end
private ${field.propertyType} ${field.propertyName};
#end
}