Documentation
¶
Index ¶
- Variables
- func CompleteWorkflowMove(wfInterface model.Workflow) (err error)
- func CreateWorkflowProcess(workflowProcess model.WorkflowProcess) (err error)
- func DeleteWorkflowProcess(workflowProcess model.WorkflowProcess) (err error)
- func DeleteWorkflowProcessByIds(ids request.GetByIds) (err error)
- func FindWorkflowStep(id string) (workflowNode model.WorkflowProcess, err error)
- func GetMyNeed(userID uint, AuthorityID string) (result []model.WorkflowMove, err error)
- func GetMyStated(userID uint) (result []model.WorkflowMove, err error)
- func GetWorkflowMoveByID(info *request.GetById) (move model.WorkflowMove, moves []model.WorkflowMove, business interface{}, ...)
- func GetWorkflowProcess(id string) (workflowProcess model.WorkflowProcess, err error)
- func GetWorkflowProcessInfoList(info request.SearchWorkflowProcess) (list interface{}, total int64, err error)
- func StartWorkflow(wfInterface model.Workflow) (err error)
- func UpdateWorkflowProcess(workflowProcess *model.WorkflowProcess) (err error)
- type BreakpointContinueInterface
- type SimpleUploaderInterface
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 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 ¶
@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 ¶
@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
Click to show internal directories.
Click to hide internal directories.