Generate Codegen Sql
generate_codegen_sqlGenerate menu, derived dictionary, and H2 SQL content and paths for a specified business table, without writing files or applying database changes. Use before explicit menu/dictionary application.
Instructions
只读生成指定业务表的菜单、派生字典和 H2 SQL 内容及路径,不写文件、不写库。
auto / migration_only 均生成对应 SQL,disabled 不生成对应片段。 即使 codegen.apply_to_database=true,本工具也不执行数据库应用。 SQL 文件由 AI 写入;真实菜单/字典应用需显式调用 apply_codegen_sql。 backend_module_dir: 显式后端目标模块目录,支持 yudao-module-a/yudao-module-b 或 a/b。 backend_package_module: 显式 Java package module 名,例如 b;未传时使用 module_name。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| menu_icon | No | ||
| menu_name | No | ||
| table_name | Yes | ||
| entity_name | No | ||
| module_name | No | ||
| business_name | No | ||
| parent_menu_id | No | ||
| workspace_root | No | ||
| module_menu_icon | No | ||
| module_menu_name | No | ||
| parent_menu_name | No | ||
| backend_module_dir | No | ||
| backend_package_module | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||