mirror of
https://gitee.com/dromara/mayfly-go
synced 2026-01-06 14:45:48 +08:00
refactor: base.repo与app重构优化
This commit is contained in:
@@ -17,5 +17,5 @@ func newMsgRepo() repository.Msg {
|
||||
|
||||
func (m *msgRepoImpl) GetPageList(condition *entity.Msg, pageParam *model.PageParam, toEntity any, orderBy ...string) (*model.PageResult[any], error) {
|
||||
pd := model.NewModelCond(condition).OrderBy(orderBy...)
|
||||
return m.PageByCond(pd, pageParam, toEntity)
|
||||
return m.PageByCondToAny(pd, pageParam, toEntity)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user