feat: 代码生成 Beta 公测版本

This commit is contained in:
ray
2024-07-28 23:33:08 +08:00
parent 41917686b1
commit 8888829437
40 changed files with 556 additions and 384 deletions

View File

@@ -12,12 +12,12 @@ import java.math.BigDecimal;
#end
/**
* $!{tableComment}分页查询对象
* $!{businessName}分页查询对象
*
* @author ${author}
* @since ${date}
*/
@Schema(description ="$!{tableComment}分页查询对象")
@Schema(description ="$!{businessName}查询对象")
@Getter
@Setter
public class ${entityName}Query extends BasePageQuery {
@@ -25,9 +25,9 @@ public class ${entityName}Query extends BasePageQuery {
private static final long serialVersionUID = 1L;
#if($fieldConfigs)
#foreach($fieldConfig in ${fieldConfigs})
#if($fieldConfig.showInQuery)
#if($fieldConfig.isShowInQuery)
#if("$!fieldConfig.fieldComment" != "")
@Schema(description = "${field.fieldComment}")
@Schema(description = "${fieldConfig.fieldComment}")
#end
private ${fieldConfig.fieldType} ${fieldConfig.fieldName};
#end