diff --git a/FrontendWebApi/ApiControllers/AlertController.cs b/FrontendWebApi/ApiControllers/AlertController.cs index 42917a8..b0f848b 100644 --- a/FrontendWebApi/ApiControllers/AlertController.cs +++ b/FrontendWebApi/ApiControllers/AlertController.cs @@ -179,7 +179,7 @@ namespace FrontendWebApi.ApiControllers foreach(var a in alerts) { var sqlString = $@"select * from operation_record where error_code = @error_code"; - var formId = await backendRepository.GetOneAsync(sqlString, new { @error_code = a.error_code }); + var formId = await backendRepository.GetOneAsync(sqlString, new { @error_code = a.uuid }); a.formId = formId; } }