浏览代码

参数错误

Li 3 年之前
父节点
当前提交
c2c65aee2f
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      TEAMModelBI/Controllers/LoginController.cs

+ 1 - 1
TEAMModelBI/Controllers/LoginController.cs

@@ -646,7 +646,7 @@ namespace TEAMModelBI.Controllers
                     List<BizRelUser> bizRelUsers = new();
                     if (bizUser != null) 
                     {
-                        string tableSqlUser = $"PartitionKey eq 'BizRelUser' and bizUser eq '{bizUser.RowKey}'";
+                        string tableSqlUser = $"PartitionKey eq 'BizRelUser' and userId eq '{bizUser.RowKey}'";
 
                         bizRelUsers = await table.QueryWhereString<BizRelUser>(tableSqlUser);
                     }