fix parameter
This commit is contained in:
parent
e7b1ca0fa5
commit
fc89404cb0
@ -179,7 +179,7 @@ namespace FrontendWebApi.ApiControllers
|
|||||||
foreach(var a in alerts)
|
foreach(var a in alerts)
|
||||||
{
|
{
|
||||||
var sqlString = $@"select * from operation_record where error_code = @error_code";
|
var sqlString = $@"select * from operation_record where error_code = @error_code";
|
||||||
var formId = await backendRepository.GetOneAsync<string>(sqlString, new { @error_code = a.error_code });
|
var formId = await backendRepository.GetOneAsync<string>(sqlString, new { @error_code = a.uuid });
|
||||||
a.formId = formId;
|
a.formId = formId;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user