修改,兼容go-admin sdk方案

This commit is contained in:
linwenxiang committed 2021-03-09 19:12:49 +08:00
1 parent c541d09076
commit 25d8364bf4
151 files changed
+578 -3525

No files matched your search

+7 -7
View File
@@ -1,20 +1,20 @@
package models
import (
// "gorm.io/gorm"
// "gorm.io/gorm"
"go-admin/common/models"
)
type WfProcessClassify struct {
models.Model
models.ControlBy
Name string `json:"name" gorm:"type:varchar(255);comment:名称"`
models.Model
models.ControlBy
Name string `json:"name" gorm:"type:varchar(255);comment:名称"`
}
func (WfProcessClassify) TableName() string {
return "wf_process_classify"
return "wf_process_classify"
}
func (e *WfProcessClassify) Generate() models.ActiveRecord {
@@ -24,4 +24,4 @@ func (e *WfProcessClassify) Generate() models.ActiveRecord {
func (e *WfProcessClassify) GetId() interface{} {
return e.Id
}
}