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 msgRepoImpl struct {
}
func newMsgRepo() repository.Msg {
return &msgRepoImpl{base.RepoImpl[*entity.Msg]{M: new(entity.Msg)}}
return &msgRepoImpl{}
}
func (m *msgRepoImpl) GetPageList(condition *entity.Msg, pageParam *model.PageParam, toEntity any, orderBy ...string) (*model.PageResult[any], error) {