service

package
v0.0.0-...-22bb83e Latest Latest
Warning

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

Go to latest
Published: Mar 14, 2021 License: Apache-2.0 Imports: 22 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var BreakpointContinueGdb = new(breakpointContinueGdb)
View Source
var BreakpointContinueGorm = new(breakpointContinueGorm)
View Source
var Excel = new(_excel)
View Source
var File = new(file)
View Source
var SimpleUploaderGdb = new(uploaderGdb)
View Source
var SimpleUploaderGorm = new(uploaderGorm)

Functions

func CompleteWorkflowMove

func CompleteWorkflowMove(wfInterface model.Workflow) (err error)

func CreateWorkflowProcess

func CreateWorkflowProcess(workflowProcess model.WorkflowProcess) (err error)

@author: [piexlmax](https://github.com/piexlmax) @description: 创建工作流相关信息

func DeleteWorkflowProcess

func DeleteWorkflowProcess(workflowProcess model.WorkflowProcess) (err error)

@author: [piexlmax](https://github.com/piexlmax) @description: 删除工作流相关信息

func DeleteWorkflowProcessByIds

func DeleteWorkflowProcessByIds(ids request.GetByIds) (err error)

@author: [piexlmax](https://github.com/piexlmax) @description: 批量删除工作流信息(暂未启用)

func FindWorkflowStep

func FindWorkflowStep(id string) (workflowNode model.WorkflowProcess, err error)

@author: [piexlmax](https://github.com/piexlmax) @description: 获取工作流步骤信息

func GetMyNeed

func GetMyNeed(userID uint, AuthorityID string) (result []model.WorkflowMove, err error)

func GetMyStated

func GetMyStated(userID uint) (result []model.WorkflowMove, err error)

func GetWorkflowMoveByID

func GetWorkflowMoveByID(info *request.GetById) (move model.WorkflowMove, moves []model.WorkflowMove, business interface{}, err error)

func GetWorkflowProcess

func GetWorkflowProcess(id string) (workflowProcess model.WorkflowProcess, err error)

@author: [piexlmax](https://github.com/piexlmax) @description: 获取工作流相关信息

func GetWorkflowProcessInfoList

func GetWorkflowProcessInfoList(info request.SearchWorkflowProcess) (list interface{}, total int64, err error)

@author: [piexlmax](https://github.com/piexlmax) @description: 获取工作流列表

func StartWorkflow

func StartWorkflow(wfInterface model.Workflow) (err error)

@author: [piexlmax](https://github.com/piexlmax) @description: 开启一个工作流

func UpdateWorkflowProcess

func UpdateWorkflowProcess(workflowProcess *model.WorkflowProcess) (err error)

@author: [piexlmax](https://github.com/piexlmax) @description: 更新工作流相关信息

Types

type BreakpointContinueInterface

type BreakpointContinueInterface interface {
	FindOrCreateFile(info *request.BreakpointContinue) (result *model.BreakpointContinue, err error)
	CreateFileChunk(info *request.CreateFileChunk) error
	DeleteFileChunk(info *request.BreakpointContinue) error
	BreakpointContinue(info *request.BreakpointContinue, header *multipart.FileHeader) error
	BreakpointContinueFinish(info *request.BreakpointContinueFinish) (filepath string, err error)
}

func BreakpointContinue

func BreakpointContinue() BreakpointContinueInterface

type SimpleUploaderInterface

type SimpleUploaderInterface interface {
	Upload(header *multipart.FileHeader, info *request.Upload) error
	CreateChunk(info model.SimpleUploader) error
	CheckFileMd5(info *request.CheckFileMd5) (uploads *[]model.SimpleUploader, isDone bool, err error)
	MergeFileMd5(info *request.MergeFileMd5) error
	SaveUploadedFile(file *multipart.FileHeader, chunkPath string) error
}

func SimpleUploader

func SimpleUploader() SimpleUploaderInterface

Jump to

Keyboard shortcuts

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