mirror of
https://gitee.com/dromara/mayfly-go
synced 2025-12-28 10:26:35 +08:00
feature: 将数据库实例管理集成到数据库管理模块中
This commit is contained in:
@@ -39,7 +39,6 @@ func (d *instanceRepoImpl) GetById(id uint64, cols ...string) *entity.Instance {
|
||||
instance := new(entity.Instance)
|
||||
if err := gormx.GetById(instance, id, cols...); err != nil {
|
||||
return nil
|
||||
|
||||
}
|
||||
return instance
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user