fix: issue of log data isolation for multi-tenancy
This commit is contained in:
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
|
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