8 Commits (ff4a648371eb84b3f29bb15cb983dd61f21154d2)

Author SHA1 Message Date
zch 31cb429756 refactor(os-generator): 重构代码生成器的数据库查询和操作,改SQL server为MySQL
- 使用 information_schema 替代 sysobjects 等系统表,提高兼容性
- 更新了 sql.vm 文件中的 SQL 语句.1. 删除了 DECLARE @parentId INT; 语句,因为 MySQL 中不需要预先声明变量2. 将 SET @parentId = SCOPE_IDENTITY(); 修改为 SET @parentId = LAST_INSERT_ID(); ,使用 MySQL 兼容的函数获取最后插入的自增 ID。注意:1. 在 MySQL/TiDB 中,用户变量以 @ 开头,不需要像 SQL Server 那样预先声明2. LAST_INSERT_ID() 函数用于获取最后插入的自增 ID,替代 SQL Server 中的 SCOPE_IDENTITY()
2 months ago
zch a0eba36531 refactor(os): 将 isnull() 替换为 TiDB/MySQL 兼容的 ifnull(),使用 now()替代 getdate() 获取当前时间
- 更新了包括 os-generator、os-system、os-quartz等模块中的 Mapper 文件
2 months ago
启龙 曹 9db51e1600 feat(os-ems): 新增震动实时数据管理模块
新增震动实时数据管理模块,包含数据对象、Mapper、Service、Controller的实现。支持震动数据的增删查改
10 months ago
yinq cda1fc94a7 change - add异常告警、异常数据 1 year ago
yinq 208f07eeb9 change - add生产BOM 1 year ago
yinq b7288c3f66 change - 代码生成优化 1 year ago
yinq 6a53dc3f7b change - 代码生成优化 1 year ago
yinq d978883d8a first commit 1 year ago