mirror of
https://gitee.com/dromara/mayfly-go
synced 2026-05-01 16:45:20 +08:00
feat: dbms新增支持工单流程审批
This commit is contained in:
@@ -1,6 +1,8 @@
|
||||
package entity
|
||||
|
||||
import "mayfly-go/pkg/model"
|
||||
import (
|
||||
"mayfly-go/pkg/model"
|
||||
)
|
||||
|
||||
// 数据库sql执行记录
|
||||
type DbSqlExec struct {
|
||||
@@ -13,6 +15,10 @@ type DbSqlExec struct {
|
||||
Sql string `json:"sql"` // 执行的sql
|
||||
OldValue string `json:"oldValue"`
|
||||
Remark string `json:"remark"`
|
||||
Status int8 `json:"status"` // 执行状态
|
||||
Res string `json:"res"` // 执行结果
|
||||
|
||||
FlowBizKey string `json:"flowBizKey"` // 流程业务key
|
||||
}
|
||||
|
||||
const (
|
||||
@@ -21,4 +27,9 @@ const (
|
||||
DbSqlExecTypeDelete int8 = 2 // 删除类型
|
||||
DbSqlExecTypeInsert int8 = 3 // 插入类型
|
||||
DbSqlExecTypeQuery int8 = 4 // 查询类型,如select、show等
|
||||
|
||||
DbSqlExecStatusWait = 1
|
||||
DbSqlExecStatusSuccess = 2
|
||||
DbSqlExecStatusNo = -1 // 不执行
|
||||
DbSqlExecStatusFail = -2
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user