瀏覽代碼

Fixed mysql dashboard query bug

master
Savorboard 5 年之前
父節點
當前提交
e7f11d22b8
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. +1
    -1
      src/DotNetCore.CAP.MySql/IMonitoringApi.MySql.cs

+ 1
- 1
src/DotNetCore.CAP.MySql/IMonitoringApi.MySql.cs 查看文件

@@ -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…
取消
儲存