Merged
Conversation
added 8 commits
September 21, 2025 02:09
refactor: 优化配置文件和导航结构 style: 更新首页展示内容和图标 chore: 添加vue依赖并更新缓存文件
清理schema.py中未使用的Optional类型导入 移除model.py中未使用的数据库方言特定类型
- 新增代码生成模块路由支持 - 重构 MCP 服务器API,支持增删改查接口和分页查询 - 实现 MCP 智能对话的流式响应和 WebSocket 通信 - 优化 MCP 数据模型,支持环境变量等配置项 - 改进 MCP CRUD 层,集成权限控制和统一操作方法 - 优化异常处理,提升接口错误信息准确性 - 修正依赖导入和数据校验,增强代码健壮性
- 修正 CRUD 基类初始化时 model 参数传递方式,改为实例化对象 - 修改部分查询中条件字段名的错误,table_id 改为 id - 修正数据库方言下查询语句缺少 SELECT 关键字的问题 - 优化查询参数绑定,避免直接传递包含分页参数的字典 - 修正生成表结构后返回数据中的主键字段 id 替代 table_id - 优化删除逻辑中获取列 ID 的字段名称错误 - 重写建表功能相关代码,添加异常捕获和事务回滚 - 取消子表字段 Schema 的非空强制,改为可选类型 - 修正前端接口请求路径及参数命名,使其更加直观和规范 - 修改模板加载路径为绝对路径,确保多环境下模板加载正确 - 修复模板工具中子表相关属性为空时的类型检查错误 - 调整模板文件及路径后缀名,统一从 .jinja2 改为 .j2 - 修正生成文件路径映射以符合新模板路径和文件名规范 - 删除冗余和废弃的 Python 控制器及 CRUD 模板文件 - 修正 SQL 菜单模板中模块名路径格式错误 - 更新前端 Vue API 调用函数参数与接口路径一致性
- 统一示例表注释格式,去除兼容说明 - 取消 GenTableModel 和 GenTableColumnModel 中的 @declared_attr 装饰器,改用类属性定义表名和表注释 - 移除 GenTableModel 中冗余字段定义如删除标志、创建人、更新时间等,简化模型 - 调整字段 table_id 顺序至 GenTableColumnModel 中末尾,保证定义统一 - 修改导入的 sqlalchemy 模块,去除未使用的类型和方法 - 在 GenTableColumnBaseSchema 中添加 create_by 字段,完善字段信息描述
- 删除废弃的ticket和version模块相关代码 - 将resource模块从system迁移到monitor - 移除前端资源管理相关配置 - 重构代码生成模板路径和配置 - 修复CRUD基类初始化参数问题 - 优化模板工具类路径处理 - 更新基础模型字段和配置
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.