refactor: dbm

This commit is contained in:
meilin.huang
2024-12-08 13:04:23 +08:00
parent ebc89e056f
commit e56788af3e
152 changed files with 4273 additions and 3715 deletions

View File

@@ -12,7 +12,7 @@ type dataSyncTaskRepoImpl struct {
}
func newDataSyncTaskRepo() repository.DataSyncTask {
return &dataSyncTaskRepoImpl{base.RepoImpl[*entity.DataSyncTask]{M: new(entity.DataSyncTask)}}
return &dataSyncTaskRepoImpl{}
}
// 分页获取数据库信息列表
@@ -35,5 +35,5 @@ func (d *dataSyncLogRepoImpl) GetTaskLogList(condition *entity.DataSyncLogQuery,
}
func newDataSyncLogRepo() repository.DataSyncLog {
return &dataSyncLogRepoImpl{base.RepoImpl[*entity.DataSyncLog]{M: new(entity.DataSyncLog)}}
return &dataSyncLogRepoImpl{}
}