mirror of
https://gitee.com/dromara/mayfly-go
synced 2025-12-14 19:56:35 +08:00
refactor: 代码重构、分页数据组件支持多选
This commit is contained in:
@@ -4,7 +4,7 @@ import (
|
||||
"mayfly-go/internal/db/domain/entity"
|
||||
"mayfly-go/internal/db/domain/repository"
|
||||
"mayfly-go/pkg/biz"
|
||||
"mayfly-go/pkg/model"
|
||||
"mayfly-go/pkg/gormx"
|
||||
)
|
||||
|
||||
type dbSqlRepoImpl struct{}
|
||||
@@ -15,5 +15,5 @@ func newDbSqlRepo() repository.DbSql {
|
||||
|
||||
// 分页获取数据库信息列表
|
||||
func (d *dbSqlRepoImpl) DeleteBy(condition *entity.DbSql) {
|
||||
biz.ErrIsNil(model.DeleteByCondition(condition), "删除sql失败")
|
||||
biz.ErrIsNil(gormx.DeleteByCondition(condition), "删除sql失败")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user