李昊 4 anos atrás
pai
commit
6adc25fafe

+ 1 - 1
gx_api/GxPress/Repository/GxPress.Repository.Implement/Media/MediaRepository.cs

@@ -276,7 +276,7 @@ namespace GxPress.Repository.Implement.Media
                 sql = $@"SELECT  count(1) FROM tede_media WHERE id IN ({str})";
                 result.Total = await connection.ExecuteScalarAsync<int>(sql);
             }
-            return null;
+            return result;
         }
         public async Task<bool> UpdateAsync(MediaResult result)
         {