@ -26,6 +26,9 @@ namespace VOL.Core.Tenancy
case "Sys_User":
multiTenancyString += $" where UserId='{UserContext.Current.UserId}'";
break;
case "Sys_Log":
multiTenancyString += $" where User_Id='{UserContext.Current.UserId}'";
default:
//开启数租户数据隔离,用户只能看到自己的表数据(自己根据需要写条件做租户数据隔离)
multiTenancyString += $" where CreateID='{UserContext.Current.UserId}'";