diff --git a/OpenAuth.App/ServiceApp/AirportMaintenanceApp.cs b/OpenAuth.App/ServiceApp/AirportMaintenanceApp.cs index 2de70fc..9be2080 100644 --- a/OpenAuth.App/ServiceApp/AirportMaintenanceApp.cs +++ b/OpenAuth.App/ServiceApp/AirportMaintenanceApp.cs @@ -429,7 +429,7 @@ namespace OpenAuth.App.ServiceApp public async Task> UpdatePicParentKey(string id, string ParentKey) { - string sql = "update lasa_mediafile set \"Name\"='" + ParentKey + "' where \"Id\"='" + id + "'"; + string sql = "update lasa_mediafile set \"ParentKey\"='" + ParentKey + "' where \"Id\"='" + id + "'"; await _client.Ado.ExecuteCommandAsync(sql); return new Response { Result = "修改成功!" }; }