refactor(database): 移除 IDao 接口中的 Columns 方法

- 从 IDao 接口中删除了 Columns() 方法定义
- 简化了接口结构,移除了不再需要的列查询功能
- 保持了其他核心方法如 DB、TableName、Group 等不变
- 减少了接口的复杂性,提高了代码的可维护性
main v1.0.2005
maguodong 2026-04-08 09:47:36 +08:00
parent 550f82bd1b
commit ab2f85b8ed
1 changed files with 0 additions and 1 deletions

View File

@ -7,7 +7,6 @@ import (
type IDao interface { type IDao interface {
DB() DB DB() DB
TableName() string TableName() string
Columns() interface{}
Group() string Group() string
Ctx(ctx context.Context) *Model Ctx(ctx context.Context) *Model
Transaction(ctx context.Context, f func(ctx context.Context, tx TX) error) (err error) Transaction(ctx context.Context, f func(ctx context.Context, tx TX) error) (err error)