mirror of
https://gitee.com/dromara/mayfly-go
synced 2025-11-04 00:10:25 +08:00
20 lines
525 B
Go
20 lines
525 B
Go
package repository
|
|
|
|
import (
|
|
"mayfly-go/internal/flow/domain/entity"
|
|
"mayfly-go/pkg/base"
|
|
"mayfly-go/pkg/model"
|
|
)
|
|
|
|
type Procinst interface {
|
|
base.Repo[*entity.Procinst]
|
|
|
|
GetPageList(condition *entity.ProcinstQuery, pageParam *model.PageParam, toEntity any, orderBy ...string) (*model.PageResult[any], error)
|
|
}
|
|
|
|
type ProcinstTask interface {
|
|
base.Repo[*entity.ProcinstTask]
|
|
|
|
GetPageList(condition *entity.ProcinstTaskQuery, pageParam *model.PageParam, toEntity any, orderBy ...string) (*model.PageResult[any], error)
|
|
}
|