【feature】添加组织数据读取权限

This commit is contained in:
XM-GO
2023-09-14 17:28:52 +08:00
parent bde42bfc9a
commit b5ee2a54b9
84 changed files with 1664 additions and 774 deletions

View File

@@ -14,4 +14,6 @@ type SysJob struct {
MisfirePolicy string `json:"misfirePolicy" gorm:"type:varchar(1);"` // 执行策略
Status string `json:"status" gorm:"type:varchar(1);"` // 状态
EntryId int `json:"entryId" gorm:"type:int;"` // job启动时返回的id
RoleId int64 `gorm:"-"` // 角色数据权限
}

View File

@@ -11,4 +11,6 @@ type JobLog struct {
TargetInvoke string `json:"targetInvoke" gorm:"type:varchar(128);comment:调用方法"`
LogInfo string `json:"logInfo" gorm:"type:varchar(255);comment:日志信息"`
Status string `json:"status" gorm:"type:varchar(1);comment:状态"`
RoleId int64 `gorm:"-"` // 角色数据权限
}