Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SysDB ¶
type SysDB struct { DB *gorm.DB TimeStamp int64 MyId uint64 MyName string MyDeptId uint64 MyDeptName string // contains filtered or unexported fields }
func NewSuData ¶
func NewSuData() *SysDB
*
- 建立系统级运行对象,支持数据库操作、系统用户信息、日志等操作,同时开启数据库事务
- @param runName 运行名称,用于发生错误时,记录在日志内容中
Click to show internal directories.
Click to hide internal directories.