fix: issue of log data isolation for multi-tenancy

This commit is contained in:
simonzhangsz committed 2024-07-09 09:03:58 +08:00
1 parent bb869b5232
commit 0515996389
1 file changed
+1 -1
@@ -121,7 +121,7 @@ func (r *SysLogOperateImpl) SelectSysLogOperatePage(query map[string]any, dataSc
// 构建查询条件语句
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 := ""
if len(conditions) > 0 {
whereSql += " where " + strings.Join(conditions, " and ")