清理工作流功能

This commit is contained in:
pixel
2021-03-18 14:27:39 +08:00
parent 0df2b3ea1c
commit 7668e7fdde
122 changed files with 43 additions and 8963 deletions
@@ -20,26 +20,3 @@ func ({{.StructName}}) TableName() string {
return "{{.TableName}}"
}
{{ end }}
// 如果使用工作流功能 需要打开下方注释 并到initialize的workflow中进行注册 且必须指定TableName
// type {{.StructName}}Workflow struct {
// // 工作流操作结构体
// WorkflowBase `json:"wf"`
// {{.StructName}} `json:"business"`
// }
// func ({{.StructName}}) TableName() string {
// return "{{.TableName}}"
// }
// 工作流注册代码
// initWorkflowModel内部注册
// model.WorkflowBusinessStruct["{{.Abbreviation}}"] = func() model.GVA_Workflow {
// return new(model.{{.StructName}}Workflow)
// }
// initWorkflowTable内部注册
// model.WorkflowBusinessTable["{{.Abbreviation}}"] = func() interface{} {
// return new(model.{{.StructName}})
// }