李昊 4 年 前
コミット
e653c799fb
共有1 個のファイルを変更した2 個の追加2 個の削除を含む
  1. 2 2
      gx_api/GxPress/Service/GxPress.Service.Implement/Topic/TopicService.cs

+ 2 - 2
gx_api/GxPress/Service/GxPress.Service.Implement/Topic/TopicService.cs

@@ -309,7 +309,7 @@ namespace GxPress.Service.Implement.Topic
             }
             else
             {
-                sql += $@" AND (a.userId=7 or a.FolderId IN (SELECT 
+                sql += $@" AND (a.userId={request.UserId} or a.FolderId IN (SELECT 
                                                                 MiddleId
                                                             FROM
                                                                 tede_folder_user
@@ -414,7 +414,7 @@ namespace GxPress.Service.Implement.Topic
             }
             else
             {
-                sql += $@" AND (a.userId=7 or a.FolderId IN (SELECT 
+                sql += $@" AND (a.userId={request.UserId} or a.FolderId IN (SELECT 
                                                                 MiddleId
                                                             FROM
                                                                 tede_folder_user