diff --git a/yudao-module-infra/yudao-module-infra-impl/src/main/java/cn/iocoder/yudao/module/infra/service/codegen/inner/CodegenBuilder.java b/yudao-module-infra/yudao-module-infra-impl/src/main/java/cn/iocoder/yudao/module/infra/service/codegen/inner/CodegenBuilder.java index afa7c0686..4c7ba479f 100644 --- a/yudao-module-infra/yudao-module-infra-impl/src/main/java/cn/iocoder/yudao/module/infra/service/codegen/inner/CodegenBuilder.java +++ b/yudao-module-infra/yudao-module-infra-impl/src/main/java/cn/iocoder/yudao/module/infra/service/codegen/inner/CodegenBuilder.java @@ -51,6 +51,8 @@ public class CodegenBuilder { .put("image", CodegenColumnHtmlTypeEnum.UPLOAD_IMAGE) .put("file", CodegenColumnHtmlTypeEnum.UPLOAD_FILE) .put("content", CodegenColumnHtmlTypeEnum.EDITOR) + .put("description", CodegenColumnHtmlTypeEnum.EDITOR) + .put("demo", CodegenColumnHtmlTypeEnum.EDITOR) .put("time", CodegenColumnHtmlTypeEnum.DATETIME) .put("date", CodegenColumnHtmlTypeEnum.DATETIME) .build(); @@ -58,7 +60,7 @@ public class CodegenBuilder { /** * 多租户编号的字段名 */ - public static final String TENANT_ID_FIELD = "tenant_id"; + public static final String TENANT_ID_FIELD = "tenantId"; /** * {@link cn.iocoder.yudao.framework.mybatis.core.dataobject.BaseDO} 的字段 */