update
This commit is contained in:
1 parent
46af0cf567
commit
a8d4c996ff
1 file changed
+3
-2
@@ -33,7 +33,8 @@ type SysTables struct {
|
|||||||
Tree bool `gorm:"column:tree" json:"tree"`
|
Tree bool `gorm:"column:tree" json:"tree"`
|
||||||
Crud bool `gorm:"column:crud" json:"crud"`
|
Crud bool `gorm:"column:crud" json:"crud"`
|
||||||
Remark string `gorm:"column:remark" json:"remark"`
|
Remark string `gorm:"column:remark" json:"remark"`
|
||||||
|
IsLogicalDelete bool `gorm:"column:is_logical_delete" json:"isLogicalDelete"`
|
||||||
|
LogicalDeleteColumn string `gorm:"column:logical_delete_column" json:"logicalDeleteColumn"`
|
||||||
CreateBy string `gorm:"column:create_by" json:"createBy"`
|
CreateBy string `gorm:"column:create_by" json:"createBy"`
|
||||||
CreateTime string `gorm:"column:create_time" json:"createTime"`
|
CreateTime string `gorm:"column:create_time" json:"createTime"`
|
||||||
UpdateBy string `gorm:"column:update_By" json:"updateBy"`
|
UpdateBy string `gorm:"column:update_By" json:"updateBy"`
|
||||||
@@ -89,7 +90,7 @@ func (e *SysTables) Get() (SysTables, error) {
|
|||||||
return doc, err
|
return doc, err
|
||||||
}
|
}
|
||||||
var col SysColumns
|
var col SysColumns
|
||||||
col.TableId = e.TableId
|
col.TableId = doc.TableId
|
||||||
if doc.Columns, err = col.GetList(); err != nil {
|
if doc.Columns, err = col.GetList(); err != nil {
|
||||||
return doc, err
|
return doc, err
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user