repository

package
v1.3.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 15, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ProcessEngineRepository

type ProcessEngineRepository interface {
	ListTodoList(userId, processName string, sortByAse bool, offset, limit int) (
		[]domain.Instance, error)
	CountTodo(ctx context.Context, userId, processName string) (int64, error)
	CountStartUser(ctx context.Context, userId, processName string) (int64, error)
	ListStartUser(ctx context.Context, userId, processName string, offset, limit int) (
		[]domain.Instance, error)
	ListTaskRecord(ctx context.Context, processInstId, offset, limit int) ([]model.Task, error)
	CountTaskRecord(ctx context.Context, processInstId int) (int64, error)
	UpdateIsFinishedByPreNodeId(ctx context.Context, nodeId string) error
	CountReject(ctx context.Context, taskId int) (int64, error)
	ListTasksByProcInstIds(ctx context.Context, processInstIds []int, starter string) ([]domain.Instance, error)
	GetAutomationTask(ctx context.Context, currentNodeId string, processInstId int) (model.Task, error)
}

func NewProcessEngineRepository

func NewProcessEngineRepository(engineDao dao.ProcessEngineDAO) ProcessEngineRepository

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL