package
0.0.0-20240303083302-2fdb8d145865
Repository: https://github.com/kuochaoyi/go-workflow.git
Documentation: pkg.go.dev
# Functions
CopyExecutionToHistoryByProcInstIDTx CopyExecutionToHistoryByProcInstIDTx.
CopyIdentitylinkToHistoryByProcInstID CopyIdentitylinkToHistoryByProcInstID.
CopyTaskToHistoryByProInstID CopyTaskToHistoryByProInstID 根据procInstID查询结果,并将结果复制到task_history表.
DelCandidateByProcInstID DelCandidateByProcInstID 删除历史候选人.
DeleteTask 删除任务.
DelProcdefByID del by id 根据id删除.
DelProcdefByIDTx DelProcdefByIDTx.
DelProcInstByID DelProcInstByID.
DelProcInstByIDTx DelProcInstByIDTx 事务.
DelProcInstHistoryByID DelProcInstHistoryByID.
DepartmentsNotNull 分管部门.
ExistsExecByProcInst ExistsExecByProcInst 指定流程实例的执行流是否已经存在.
ExistsNotifierByProcInstIDAndGroup 抄送人是否已经存在.
FindFinishedProc FindFinishedProc.
FindParticipantByProcInstID 查询参与审批的人.
FindParticipantHistoryByProcInstID FindParticipantHistoryByProcInstID.
FindProcdefsWithCountAndPaged return result with total count and error 返回查询结果和总条数.
FindProcHistory 查询历史纪录.
FindProcHistoryNotify 查询抄送我的历史纪录.
FindProcInstByID FindProcInstByID.
FindProcInsts FindProcInsts 分页查询.
FindProcNotify 查询抄送我的流程.
GetExecByProcInst GetExecByProcInst 根据流程实例id查询执行流.
GetExecNodeInfosByProcInstID GetExecNodeInfosByProcInstID 根据流程实例procInstID查询执行流经过的所有节点信息.
GetProcdefByID 根据流程定义.
GetProcdefLatestByNameAndCompany :get latest procdef by name and company 根据名字和公司查询最新的流程定义.
GetTaskByID GetTaskById.
GetTaskLastByProInstID GetTaskLastByProInstID 根据流程实例id获取上一个任务.
GroupsNotNull 候选组.
IfParticipantByTaskID IfParticipantByTaskID 针对指定任务判断用户是否已经审批过了.
MoveProcdefToHistoryByIDTx 将流程定义移至历史纪录表.
SaveProcInstHistory SaveProcInstHistory.
SaveProcInstHistoryTx SaveProcInstHistoryTx.
StartByMyself 我发起的流程.
StartHistoryByMyself 查询我发起的流程.
# Variables
IdentityTypes IdentityTypes.
# Structs
Execution 流程实例(执行流)表 ProcInstID 流程实例ID BusinessKey 启动业务时指定的业务主键 ProcDefID 流程定义数据的ID.
ExecutionHistory ExecutionHistory 执行流历史纪录.
Identitylink 用户组同任务的关系.
IdentitylinkHistory IdentitylinkHistory.
Model 其它数据结构的公共部分.
Procdef 流程定义表.
ProcdefHistory 历史流程定义.
ProcInst 流程实例.
ProcInstHistory ProcInstHistory.
Task 流程任务表 ExecutionID 执行流ID Name 任务名称,在流程文件中定义 TaskDefKey 任务定义的ID值 Assignee 被指派执行该任务的人 Owner 任务拥有人.
TaskHistory TaskHistory.
# Type aliases
IdentityType 类型.