From b3acc3212688b6ad5c6541681840c36259b1c8cd Mon Sep 17 00:00:00 2001 From: dev02 Date: Thu, 10 Nov 2022 11:30:06 +0800 Subject: [PATCH] fix column --- FrontendWebApi/ApiControllers/AlertController.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/FrontendWebApi/ApiControllers/AlertController.cs b/FrontendWebApi/ApiControllers/AlertController.cs index b0f848b..1264492 100644 --- a/FrontendWebApi/ApiControllers/AlertController.cs +++ b/FrontendWebApi/ApiControllers/AlertController.cs @@ -178,7 +178,7 @@ namespace FrontendWebApi.ApiControllers { foreach(var a in alerts) { - var sqlString = $@"select * from operation_record where error_code = @error_code"; + var sqlString = $@"select formId from operation_record where error_code = @error_code"; var formId = await backendRepository.GetOneAsync(sqlString, new { @error_code = a.uuid }); a.formId = formId; }