mirror of
https://gitee.com/dromara/mayfly-go
synced 2025-12-02 05:50:24 +08:00
feat: sql解析器替换、工单统一由‘我的流程’发起、流程定义支持自定义条件触发审批、资源隐藏编号、model支持物理删除等
This commit is contained in:
26
server/internal/db/dbm/sqlparser/sqlstmt/update.go
Normal file
26
server/internal/db/dbm/sqlparser/sqlstmt/update.go
Normal file
@@ -0,0 +1,26 @@
|
||||
package sqlstmt
|
||||
|
||||
type (
|
||||
IUpdateStmt interface {
|
||||
INode
|
||||
|
||||
isUpdate()
|
||||
}
|
||||
|
||||
UpdateStmt struct {
|
||||
*Node
|
||||
|
||||
TableSources *TableSources
|
||||
UpdatedElements []*UpdatedElement
|
||||
Where IExpr
|
||||
}
|
||||
)
|
||||
|
||||
func (*UpdateStmt) isUpdate() {}
|
||||
|
||||
type UpdatedElement struct {
|
||||
*Node
|
||||
|
||||
ColumnName *ColumnName
|
||||
Value IExpr
|
||||
}
|
||||
Reference in New Issue
Block a user