fix: issue of log data isolation for multi-tenancy
This commit is contained in:
@@ -121,7 +121,7 @@ func (r *SysLogOperateImpl) SelectSysLogOperatePage(query map[string]any, dataSc
|
|||||||
|
|
||||||
// 构建查询条件语句
|
// 构建查询条件语句
|
||||||
selectSql := r.selectSql
|
selectSql := r.selectSql
|
||||||
totalSql := "select count(oper_id) as 'total' from sys_log_operate"
|
totalSql := "select count(oper_id) as 'total' from sys_log_operate l"
|
||||||
whereSql := ""
|
whereSql := ""
|
||||||
if len(conditions) > 0 {
|
if len(conditions) > 0 {
|
||||||
whereSql += " where " + strings.Join(conditions, " and ")
|
whereSql += " where " + strings.Join(conditions, " and ")
|
||||||
|
|||||||
Reference in New Issue
Block a user