mirror of
https://gitee.com/dromara/mayfly-go
synced 2025-12-16 04:36:35 +08:00
refactor: base.repo与app重构优化
This commit is contained in:
@@ -18,5 +18,5 @@ func newSyslogRepo() repository.Syslog {
|
||||
func (m *syslogRepoImpl) GetPageList(condition *entity.SysLogQuery, pageParam *model.PageParam, toEntity any, orderBy ...string) (*model.PageResult[any], error) {
|
||||
qd := model.NewCond().Like("description", condition.Description).
|
||||
Eq("creator_id", condition.CreatorId).Eq("type", condition.Type).OrderBy(orderBy...)
|
||||
return m.PageByCond(qd, pageParam, toEntity)
|
||||
return m.PageByCondToAny(qd, pageParam, toEntity)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user