瀏覽代碼

fix #624

* 接收列表中的分组和名称展示到了相反的位置

* 接收列表中的分组和名称展示到了相反的位置
master
cBear 4 年之前
committed by GitHub
父節點
當前提交
079191b14b
沒有發現已知的金鑰在資料庫的簽署中 GPG Key ID: 4AEE18F83AFDEB23
共有 2 個文件被更改,包括 4 次插入4 次删除
  1. +2
    -2
      src/DotNetCore.CAP.MySql/IMonitoringApi.MySql.cs
  2. +2
    -2
      src/DotNetCore.CAP.SqlServer/IMonitoringApi.SqlServer.cs

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

@@ -124,8 +124,8 @@ SELECT
{
Id = reader.GetInt64(index++),
Version = reader.GetString(index++),
Group = queryDto.MessageType == MessageType.Subscribe ? reader.GetString(index++) : default,
Name = reader.GetString(index++),
Group = queryDto.MessageType == MessageType.Subscribe ? reader.GetString(index++) : default,
Content = reader.GetString(index++),
Retries = reader.GetInt32(index++),
Added = reader.GetDateTime(index++),
@@ -269,4 +269,4 @@ WHERE `Key` >= @minKey
return mediumMessage;
}
}
}
}

+ 2
- 2
src/DotNetCore.CAP.SqlServer/IMonitoringApi.SqlServer.cs 查看文件

@@ -119,8 +119,8 @@ SELECT
{
Id = reader.GetInt64(index++),
Version = reader.GetString(index++),
Group = queryDto.MessageType == MessageType.Subscribe ? reader.GetString(index++) : default,
Name = reader.GetString(index++),
Group = queryDto.MessageType == MessageType.Subscribe ? reader.GetString(index++) : default,
Content = reader.GetString(index++),
Retries = reader.GetInt32(index++),
Added = reader.GetDateTime(index++),
@@ -271,4 +271,4 @@ select [Key], [Count] from aggr with (nolock) where [Key] >= @minKey and [Key] <
return await Task.FromResult(mediumMessage);
}
}
}
}

Loading…
取消
儲存