mirror of
				https://gitee.com/dromara/mayfly-go
				synced 2025-11-04 08:20:25 +08:00 
			
		
		
		
	refactor: 后端包结构重构、去除无用的文件
This commit is contained in:
		@@ -0,0 +1,17 @@
 | 
			
		||||
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失败")
 | 
			
		||||
}
 | 
			
		||||
		Reference in New Issue
	
	Block a user