feat: sql解析器替换、工单统一由‘我的流程’发起、流程定义支持自定义条件触发审批、资源隐藏编号、model支持物理删除等

This commit is contained in:
meilin.huang
2024-10-16 17:24:50 +08:00
parent 43edef412c
commit e135e4ce64
170 changed files with 397197 additions and 1251 deletions

View File

@@ -0,0 +1,53 @@
package sqlstmt
type (
IDdlStmt interface {
isDdl()
}
DdlStmt struct {
*Node
}
CreateDatabase struct {
DdlStmt
}
CreateTable struct {
DdlStmt
}
CreateIndex struct {
DdlStmt
}
AlterTable struct {
DdlStmt
}
AlterDatabase struct {
DdlStmt
}
DropDatabase struct {
DdlStmt
}
DropIndex struct {
DdlStmt
}
DropTable struct {
DdlStmt
}
DropView struct {
DdlStmt
}
)
func (d *DdlStmt) isDdl() {}
func IsDDL(node INode) bool {
return true
}