瀏覽代碼

fixed query bug.

master
Savorboard 7 年之前
父節點
當前提交
73ad5a536a
共有 2 個檔案被更改,包括 2 行新增2 行删除
  1. +1
    -1
      src/DotNetCore.CAP.SqlServer/SqlServerMonitoringApi.cs
  2. +1
    -1
      src/DotNetCore.CAP/Dashboard/Pages/ReceivedPage.cshtml

+ 1
- 1
src/DotNetCore.CAP.SqlServer/SqlServerMonitoringApi.cs 查看文件

@@ -94,7 +94,7 @@ _options.Schema);
{
where += " and name=@Name";
}
if (!string.IsNullOrEmpty(queryDto.Name))
if (!string.IsNullOrEmpty(queryDto.Group))
{
where += " and group=@Group";
}


+ 1
- 1
src/DotNetCore.CAP/Dashboard/Pages/ReceivedPage.cshtml 查看文件

@@ -51,7 +51,7 @@
<div class="btn-toolbar btn-toolbar-top">
<form class="row">
<span class="col-md-2">
<input type="text" class="form-control" name="name" value="@Query("group")" placeholder="@Strings.MessagesPage_Query_MessageGroup" />
<input type="text" class="form-control" name="group" value="@Query("group")" placeholder="@Strings.MessagesPage_Query_MessageGroup" />
</span>
<span class="col-md-3">
<input type="text" class="form-control" name="name" value="@Query("name")" placeholder="@Strings.MessagesPage_Query_MessageName" />


Loading…
取消
儲存