You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
324 B
17 lines
324 B
package service
|
|
|
|
import (
|
|
"gin-vue-admin/global"
|
|
"gin-vue-admin/model"
|
|
)
|
|
|
|
//@author: [piexlmax](https://github.com/piexlmax)
|
|
//@function: Create
|
|
//@description: 创建工作流
|
|
//@param: wk model.SysWorkflow
|
|
//@return: error
|
|
|
|
func Create(wk model.SysWorkflow) error {
|
|
err := global.GVA_DB.Create(&wk).Error
|
|
return err
|
|
}
|