ааа еще глупые ошибки ааа

This commit is contained in:
Anitonchik 2024-12-10 15:41:48 +04:00
parent 0d6d0f053e
commit 536223a315
2 changed files with 3 additions and 3 deletions

View File

@ -86,13 +86,13 @@ public class ExcelBuilder
{
for (var j = 0; j < data[i].Length; ++j)
{
CreateCell(j, _rowIndex, data[i][j], StyleIndex.SimpleTextWithoutBorder);
CreateCell(j, _rowIndex, data[i][j], StyleIndex.SimpleTextWithBorder);
}
_rowIndex++;
}
for (var j = 0; j < data.Last().Length; ++j)
{
CreateCell(j, _rowIndex, data.Last()[j], StyleIndex.SimpleTextWithoutBorder);
CreateCell(j, _rowIndex, data.Last()[j], StyleIndex.BoldTextWithBorder);
}
_rowIndex++;
return this;

View File

@ -88,7 +88,7 @@ public class ClientRepository : IClientRepository
try
{
using var connection = new NpgsqlConnection(_connectionString.ConnectionString);
var querySelect = @"SELECT * FROM Clients WHERE [ID]=@id";
var querySelect = @"SELECT * FROM Clients WHERE ID=@id";
var client = connection.QueryFirst<Client>(querySelect, new
{
id