Browse Source

Fixed mysql dashboard query bug

master
Savorboard 5 years ago
parent
commit
e7f11d22b8
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/DotNetCore.CAP.MySql/IMonitoringApi.MySql.cs

+ 1
- 1
src/DotNetCore.CAP.MySql/IMonitoringApi.MySql.cs View File

@@ -88,7 +88,7 @@ select count(Id) from `{0}.received` where StatusName = N'Failed';", _prefix);

if (!string.IsNullOrEmpty(queryDto.Content))
{
where += " and Content like '%@Content%'";
where += " and Content like CONCAT('%',@Content,'%')";
}

var sqlQuery =


Loading…
Cancel
Save