refactor(代码生成): 移除驼峰命名转换并优化模板变量命名

重构代码生成模块,移除不必要的驼峰命名转换逻辑,统一使用下划线命名风格
优化模板上下文变量命名,使其更加清晰和一致
修复SQL查询参数处理和表创建逻辑
简化模型转换逻辑,直接使用Pydantic的model_validate方法
更新.gitignore文件,添加前端环境变量配置
This commit is contained in:
zhangtao
2025-10-17 02:17:56 +08:00
parent 2186566a0e
commit 0ea88c3320
14 changed files with 551 additions and 613 deletions
+2 -1
View File
@@ -192,7 +192,8 @@ export default defineConfig(({ mode }: ConfigEnv) => {
"element-plus/es/components/slider/style/index",
"element-plus/es/components/button-group/style/index",
"element-plus/es/components/result/style/index",
"element-plus/es/components/checkbox-button/style/index"
"element-plus/es/components/checkbox-button/style/index",
"element-plus/es/components/space/style/index"
],
},
// 构建配置