Browse Source

fix #624

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

* 接收列表中的分组和名称展示到了相反的位置
master
cBear 4 years ago
committed by GitHub
parent
commit
079191b14b
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 4 deletions
  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 View File

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

+ 2
- 2
src/DotNetCore.CAP.SqlServer/IMonitoringApi.SqlServer.cs View File

@@ -119,8 +119,8 @@ SELECT
{ {
Id = reader.GetInt64(index++), Id = reader.GetInt64(index++),
Version = reader.GetString(index++), Version = reader.GetString(index++),
Group = queryDto.MessageType == MessageType.Subscribe ? reader.GetString(index++) : default,
Name = reader.GetString(index++), Name = reader.GetString(index++),
Group = queryDto.MessageType == MessageType.Subscribe ? reader.GetString(index++) : default,
Content = reader.GetString(index++), Content = reader.GetString(index++),
Retries = reader.GetInt32(index++), Retries = reader.GetInt32(index++),
Added = reader.GetDateTime(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); return await Task.FromResult(mediumMessage);
} }
} }
}
}

Loading…
Cancel
Save