mirror of
https://gitee.com/dromara/mayfly-go
synced 2025-11-02 23:40:24 +08:00
18 lines
402 B
Go
18 lines
402 B
Go
package persistence
|
|
|
|
import (
|
|
"mayfly-go/internal/devops/domain/entity"
|
|
"mayfly-go/internal/devops/domain/repository"
|
|
"mayfly-go/pkg/biz"
|
|
"mayfly-go/pkg/model"
|
|
)
|
|
|
|
type dbSqlRepo struct{}
|
|
|
|
var DbSqlDao repository.DbSql = &dbSqlRepo{}
|
|
|
|
// 分页获取数据库信息列表
|
|
func (d *dbSqlRepo) DeleteBy(condition *entity.DbSql) {
|
|
biz.ErrIsNil(model.DeleteByCondition(condition), "删除sql失败")
|
|
}
|