fix column

This commit is contained in:
dev02 2022-11-10 11:30:06 +08:00
parent fc89404cb0
commit b3acc32126

View File

@ -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<string>(sqlString, new { @error_code = a.uuid });
a.formId = formId;
}