fix: 角色数据权限范围配置示例系统日志区分
This commit is contained in:
@@ -5,7 +5,7 @@ import "be.ems/src/modules/system/model"
|
||||
// ISysLogLogin 系统登录日志 服务层接口
|
||||
type ISysLogLogin interface {
|
||||
// SelectSysLogLoginPage 分页查询系统登录日志集合
|
||||
SelectSysLogLoginPage(query map[string]any) map[string]any
|
||||
SelectSysLogLoginPage(query map[string]any, dataScopeSQL string) map[string]any
|
||||
|
||||
// SelectSysLogLoginList 查询系统登录日志集合
|
||||
SelectSysLogLoginList(sysLogLogin model.SysLogLogin) []model.SysLogLogin
|
||||
|
||||
@@ -17,8 +17,8 @@ type SysLogLoginImpl struct {
|
||||
}
|
||||
|
||||
// SelectSysLogLoginPage 分页查询系统登录日志集合
|
||||
func (s *SysLogLoginImpl) SelectSysLogLoginPage(query map[string]any) map[string]any {
|
||||
return s.sysLogLoginService.SelectSysLogLoginPage(query)
|
||||
func (s *SysLogLoginImpl) SelectSysLogLoginPage(query map[string]any, dataScopeSQL string) map[string]any {
|
||||
return s.sysLogLoginService.SelectSysLogLoginPage(query, dataScopeSQL)
|
||||
}
|
||||
|
||||
// SelectSysLogLoginList 查询系统登录日志集合
|
||||
|
||||
@@ -5,7 +5,7 @@ import "be.ems/src/modules/system/model"
|
||||
// ISysLogOperate 操作日志表 服务层接口
|
||||
type ISysLogOperate interface {
|
||||
// SelectSysLogOperatePage 分页查询系统操作日志集合
|
||||
SelectSysLogOperatePage(query map[string]any) map[string]any
|
||||
SelectSysLogOperatePage(query map[string]any, dataScopeSQL string) map[string]any
|
||||
|
||||
// SelectSysLogOperateList 查询系统操作日志集合
|
||||
SelectSysLogOperateList(sysLogOperate model.SysLogOperate) []model.SysLogOperate
|
||||
|
||||
@@ -17,8 +17,8 @@ type SysLogOperateImpl struct {
|
||||
}
|
||||
|
||||
// SelectSysLogOperatePage 分页查询系统操作日志集合
|
||||
func (r *SysLogOperateImpl) SelectSysLogOperatePage(query map[string]any) map[string]any {
|
||||
return r.SysLogOperateService.SelectSysLogOperatePage(query)
|
||||
func (r *SysLogOperateImpl) SelectSysLogOperatePage(query map[string]any, dataScopeSQL string) map[string]any {
|
||||
return r.SysLogOperateService.SelectSysLogOperatePage(query, dataScopeSQL)
|
||||
}
|
||||
|
||||
// SelectSysLogOperateList 查询系统操作日志集合
|
||||
|
||||
Reference in New Issue
Block a user