Commit e7f11d22 authored by Savorboard's avatar Savorboard

Fixed mysql dashboard query bug

parent fbf5fa61
...@@ -88,7 +88,7 @@ select count(Id) from `{0}.received` where StatusName = N'Failed';", _prefix); ...@@ -88,7 +88,7 @@ select count(Id) from `{0}.received` where StatusName = N'Failed';", _prefix);
if (!string.IsNullOrEmpty(queryDto.Content)) if (!string.IsNullOrEmpty(queryDto.Content))
{ {
where += " and Content like '%@Content%'"; where += " and Content like CONCAT('%',@Content,'%')";
} }
var sqlQuery = var sqlQuery =
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment