Compare commits
3 Commits
build-1.0.4
...
develop
| Author | SHA1 | Date | |
|---|---|---|---|
| ce489f4464 | |||
| a49af51128 | |||
| 205246f79f |
2
.gitignore
vendored
2
.gitignore
vendored
@ -53,3 +53,5 @@ Thumbs.db
|
|||||||
*/obj
|
*/obj
|
||||||
Drab/.config
|
Drab/.config
|
||||||
Drab/drab.db
|
Drab/drab.db
|
||||||
|
Drab/drab.db-shm
|
||||||
|
Drab/drab.db-wal
|
||||||
|
|||||||
@ -3,6 +3,7 @@
|
|||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<TargetFramework>net9.0-windows</TargetFramework>
|
<TargetFramework>net9.0-windows</TargetFramework>
|
||||||
<AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath>
|
<AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath>
|
||||||
|
<ImplicitUsings>enable</ImplicitUsings>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
|
|||||||
@ -1,6 +1,4 @@
|
|||||||
using System;
|
namespace Drab.Core.Models;
|
||||||
|
|
||||||
namespace Drab.Core.Models;
|
|
||||||
|
|
||||||
public class Result<TOk, TBad>
|
public class Result<TOk, TBad>
|
||||||
{
|
{
|
||||||
|
|||||||
@ -3,6 +3,7 @@
|
|||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<TargetFramework>net9.0-windows</TargetFramework>
|
<TargetFramework>net9.0-windows</TargetFramework>
|
||||||
<AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath>
|
<AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath>
|
||||||
|
<ImplicitUsings>enable</ImplicitUsings>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
|
|||||||
@ -1,5 +1,4 @@
|
|||||||
using System;
|
using System.ComponentModel.DataAnnotations;
|
||||||
using System.ComponentModel.DataAnnotations;
|
|
||||||
|
|
||||||
namespace Drab.LocalDb.Entities;
|
namespace Drab.LocalDb.Entities;
|
||||||
|
|
||||||
|
|||||||
@ -1,6 +1,5 @@
|
|||||||
using Drab.Logic.Services;
|
using System.Reflection;
|
||||||
using System.IO;
|
using Drab.Logic.Services;
|
||||||
using System.Reflection;
|
|
||||||
|
|
||||||
namespace Drab.Logic;
|
namespace Drab.Logic;
|
||||||
|
|
||||||
|
|||||||
@ -3,6 +3,7 @@
|
|||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<TargetFramework>net9.0-windows</TargetFramework>
|
<TargetFramework>net9.0-windows</TargetFramework>
|
||||||
<AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath>
|
<AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath>
|
||||||
|
<ImplicitUsings>enable</ImplicitUsings>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<Reference Include="System.Printing">
|
<Reference Include="System.Printing">
|
||||||
@ -11,21 +12,21 @@
|
|||||||
</Reference>
|
</Reference>
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<PackageReference Include="FastReport.OpenSource" Version="2025.2.0"/>
|
<PackageReference Include="FastReport.OpenSource" Version="2025.2.0" />
|
||||||
<PackageReference Include="FastReport.OpenSource.Export.PdfSimple" Version="2025.2.0"/>
|
<PackageReference Include="FastReport.OpenSource.Export.PdfSimple" Version="2025.2.0" />
|
||||||
<PackageReference Include="FastReport.OpenSource.Web" Version="2025.2.0"/>
|
<PackageReference Include="FastReport.OpenSource.Web" Version="2025.2.0" />
|
||||||
<PackageReference Include="Microsoft.AspNetCore.SignalR" Version="1.2.0"/>
|
<PackageReference Include="Microsoft.AspNetCore.SignalR" Version="1.2.0" />
|
||||||
<PackageReference Include="NLog" Version="6.0.1"/>
|
<PackageReference Include="NLog" Version="6.0.1" />
|
||||||
<PackageReference Include="PdfiumViewer" Version="2.13.0"/>
|
<PackageReference Include="PdfiumViewer" Version="2.13.0" />
|
||||||
<PackageReference Include="PdfiumViewer.Native.x86_64.v8-xfa" Version="2018.4.8.256"/>
|
<PackageReference Include="PdfiumViewer.Native.x86_64.v8-xfa" Version="2018.4.8.256" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<ProjectReference Include="..\Drab.Core\Drab.Core.csproj"/>
|
<ProjectReference Include="..\Drab.Core\Drab.Core.csproj" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<Folder Include="Templates"/>
|
<Folder Include="Templates" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
|
|||||||
@ -1,9 +1,4 @@
|
|||||||
using Pcm.Db.Entities;
|
namespace Drab.Logic.Dtos;
|
||||||
using System;
|
|
||||||
using System.Collections.Generic;
|
|
||||||
using System.Linq;
|
|
||||||
|
|
||||||
namespace Drab.Logic.Dtos;
|
|
||||||
|
|
||||||
public class DokDto
|
public class DokDto
|
||||||
{
|
{
|
||||||
|
|||||||
@ -1,6 +1,4 @@
|
|||||||
using Pcm.Db.Entities;
|
namespace Drab.Logic.Dtos;
|
||||||
|
|
||||||
namespace Drab.Logic.Dtos;
|
|
||||||
|
|
||||||
public class MagDto
|
public class MagDto
|
||||||
{
|
{
|
||||||
|
|||||||
@ -1,7 +1,4 @@
|
|||||||
using System.Linq;
|
namespace Drab.Logic.Dtos;
|
||||||
using Pcm.Db.Entities;
|
|
||||||
|
|
||||||
namespace Drab.Logic.Dtos;
|
|
||||||
|
|
||||||
public class PozDokDto
|
public class PozDokDto
|
||||||
{
|
{
|
||||||
|
|||||||
@ -1,6 +1,4 @@
|
|||||||
using Pcm.Db.Entities;
|
namespace Drab.Logic.Dtos;
|
||||||
|
|
||||||
namespace Drab.Logic.Dtos;
|
|
||||||
|
|
||||||
public class TowarDto
|
public class TowarDto
|
||||||
{
|
{
|
||||||
|
|||||||
12
Drab.Logic/GlobalUsings.cs
Normal file
12
Drab.Logic/GlobalUsings.cs
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
// Global using directives
|
||||||
|
|
||||||
|
global using Drab.Core.Configuration;
|
||||||
|
global using Drab.LocalDb;
|
||||||
|
global using Drab.LocalDb.Entities;
|
||||||
|
global using Drab.Logic.Dtos;
|
||||||
|
global using Drab.Logic.Interfaces;
|
||||||
|
global using Drab.Logic.Models;
|
||||||
|
global using Microsoft.Extensions.DependencyInjection;
|
||||||
|
global using Microsoft.Extensions.Logging;
|
||||||
|
global using NLog;
|
||||||
|
global using Pcm.Db.Entities;
|
||||||
@ -1,6 +1,4 @@
|
|||||||
using System.Threading.Tasks;
|
namespace Drab.Logic.Interfaces;
|
||||||
|
|
||||||
namespace Drab.Logic.Interfaces;
|
|
||||||
|
|
||||||
public interface IDbFetcher
|
public interface IDbFetcher
|
||||||
{
|
{
|
||||||
|
|||||||
@ -1,9 +1,4 @@
|
|||||||
using Drab.LocalDb.Entities;
|
namespace Drab.Logic.Interfaces;
|
||||||
using Drab.Logic.Dtos;
|
|
||||||
using System.Collections.Generic;
|
|
||||||
using System.Threading.Tasks;
|
|
||||||
|
|
||||||
namespace Drab.Logic.Interfaces;
|
|
||||||
|
|
||||||
public interface ILocalOrderStore
|
public interface ILocalOrderStore
|
||||||
{
|
{
|
||||||
|
|||||||
@ -1,7 +1,4 @@
|
|||||||
using Drab.Logic.Dtos;
|
namespace Drab.Logic.Interfaces;
|
||||||
using System.Threading.Tasks;
|
|
||||||
|
|
||||||
namespace Drab.Logic.Interfaces;
|
|
||||||
|
|
||||||
public interface IOrderPdfGenerator
|
public interface IOrderPdfGenerator
|
||||||
{
|
{
|
||||||
|
|||||||
@ -1,7 +1,4 @@
|
|||||||
using Drab.Logic.Dtos;
|
namespace Drab.Logic.Interfaces;
|
||||||
using System.Threading.Tasks;
|
|
||||||
|
|
||||||
namespace Drab.Logic.Interfaces;
|
|
||||||
|
|
||||||
public interface IOrderProcessor
|
public interface IOrderProcessor
|
||||||
{
|
{
|
||||||
|
|||||||
@ -1,8 +1,4 @@
|
|||||||
using Drab.Core.Models;
|
using Drab.Core.Models;
|
||||||
using Drab.Logic.Dtos;
|
|
||||||
using System;
|
|
||||||
using System.Collections.Generic;
|
|
||||||
using System.Threading.Tasks;
|
|
||||||
|
|
||||||
namespace Drab.Logic.Interfaces;
|
namespace Drab.Logic.Interfaces;
|
||||||
|
|
||||||
|
|||||||
@ -1,7 +1,4 @@
|
|||||||
using Drab.Logic.Models;
|
namespace Drab.Logic.Interfaces;
|
||||||
using System.Threading.Tasks;
|
|
||||||
|
|
||||||
namespace Drab.Logic.Interfaces;
|
|
||||||
|
|
||||||
public interface IPrintService
|
public interface IPrintService
|
||||||
{
|
{
|
||||||
|
|||||||
@ -1,7 +1,5 @@
|
|||||||
using Drab.Logic.Interfaces;
|
using Drab.Logic.Services;
|
||||||
using Drab.Logic.Services;
|
|
||||||
using Drab.Logic.Utils;
|
using Drab.Logic.Utils;
|
||||||
using Microsoft.Extensions.DependencyInjection;
|
|
||||||
|
|
||||||
namespace Drab.Logic.Ioc;
|
namespace Drab.Logic.Ioc;
|
||||||
|
|
||||||
|
|||||||
@ -1,6 +1,4 @@
|
|||||||
using System.Drawing;
|
namespace Drab.Logic.Models;
|
||||||
|
|
||||||
namespace Drab.Logic.Models;
|
|
||||||
|
|
||||||
public record PrintDocumentRequest(string FilePath, long DokId);
|
public record PrintDocumentRequest(string FilePath, long DokId);
|
||||||
|
|
||||||
|
|||||||
@ -1,31 +1,10 @@
|
|||||||
using System;
|
namespace Drab.Logic.Services;
|
||||||
using Drab.LocalDb;
|
|
||||||
using Drab.LocalDb.Entities;
|
|
||||||
using Drab.Logic.Dtos;
|
|
||||||
using Drab.Logic.Interfaces;
|
|
||||||
using Microsoft.Extensions.DependencyInjection;
|
|
||||||
using NLog;
|
|
||||||
using System.Collections.Generic;
|
|
||||||
using System.Linq;
|
|
||||||
using System.Threading.Tasks;
|
|
||||||
|
|
||||||
namespace Drab.Logic.Services;
|
public class LocalOrderStore(IServiceScopeFactory serviceScopeFactory) : ILocalOrderStore
|
||||||
|
|
||||||
public class LocalOrderStore : ILocalOrderStore
|
|
||||||
{
|
{
|
||||||
|
|
||||||
private readonly ILogger _logger;
|
|
||||||
private readonly IServiceScopeFactory _serviceScopeFactory;
|
|
||||||
|
|
||||||
public LocalOrderStore(IServiceScopeFactory serviceScopeFactory)
|
|
||||||
{
|
|
||||||
_logger = LogManager.GetCurrentClassLogger();
|
|
||||||
_serviceScopeFactory = serviceScopeFactory;
|
|
||||||
}
|
|
||||||
|
|
||||||
public async Task<List<OrderDb>> GetAll()
|
public async Task<List<OrderDb>> GetAll()
|
||||||
{
|
{
|
||||||
using var scope = _serviceScopeFactory.CreateScope();
|
using var scope = serviceScopeFactory.CreateScope();
|
||||||
await using var dbContext = scope.ServiceProvider.GetService<LocalDbContext>();
|
await using var dbContext = scope.ServiceProvider.GetService<LocalDbContext>();
|
||||||
var fromDate = DateTime.UtcNow.AddDays(-30);
|
var fromDate = DateTime.UtcNow.AddDays(-30);
|
||||||
|
|
||||||
@ -38,7 +17,7 @@ public class LocalOrderStore : ILocalOrderStore
|
|||||||
|
|
||||||
public async Task<DokDto> GetOrderById(long dokId)
|
public async Task<DokDto> GetOrderById(long dokId)
|
||||||
{
|
{
|
||||||
using var scope = _serviceScopeFactory.CreateScope();
|
using var scope = serviceScopeFactory.CreateScope();
|
||||||
await using var dbContext = scope.ServiceProvider.GetService<LocalDbContext>();
|
await using var dbContext = scope.ServiceProvider.GetService<LocalDbContext>();
|
||||||
var order = dbContext.Orders.FirstOrDefault(x => x.DokId == dokId);
|
var order = dbContext.Orders.FirstOrDefault(x => x.DokId == dokId);
|
||||||
|
|
||||||
|
|||||||
@ -1,11 +1,4 @@
|
|||||||
using System;
|
using Microsoft.Extensions.Hosting;
|
||||||
using System.Linq;
|
|
||||||
using System.Threading;
|
|
||||||
using System.Threading.Tasks;
|
|
||||||
using Drab.LocalDb;
|
|
||||||
using Microsoft.Extensions.Hosting;
|
|
||||||
using Microsoft.Extensions.DependencyInjection;
|
|
||||||
using Microsoft.Extensions.Logging;
|
|
||||||
|
|
||||||
namespace Drab.Logic.Services;
|
namespace Drab.Logic.Services;
|
||||||
|
|
||||||
@ -35,21 +28,39 @@ public class OldOrdersCleanupService : BackgroundService
|
|||||||
.Where(o => o.Created < threshold)
|
.Where(o => o.Created < threshold)
|
||||||
.ToList();
|
.ToList();
|
||||||
|
|
||||||
if (oldOrders.Count != 0)
|
var filesToDelete = oldOrders
|
||||||
|
.Select(o => Path.Combine(Constants.ReportsOutputPath, o.Filename))
|
||||||
|
.Where(p => !string.IsNullOrWhiteSpace(p) && File.Exists(p))
|
||||||
|
.ToList();
|
||||||
|
|
||||||
|
foreach (var path in filesToDelete)
|
||||||
|
{
|
||||||
|
try
|
||||||
|
{
|
||||||
|
File.Delete(path);
|
||||||
|
}
|
||||||
|
catch (Exception ex)
|
||||||
|
{
|
||||||
|
_logger.LogWarning(ex, "Failed to delete file: {FilePath}", path);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
if (oldOrders.Count > 0)
|
||||||
{
|
{
|
||||||
dbContext.Orders.RemoveRange(oldOrders);
|
dbContext.Orders.RemoveRange(oldOrders);
|
||||||
await dbContext.SaveChangesAsync(stoppingToken);
|
await dbContext.SaveChangesAsync(stoppingToken);
|
||||||
|
|
||||||
_logger.LogInformation("Usunięto {OldOrdersCount} starych zamówień.", oldOrders.Count);
|
_logger.LogInformation("Removed {OrderCount} old orders and deleted {FileCount} files.",
|
||||||
|
oldOrders.Count, filesToDelete.Count);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
_logger.LogInformation("Nie znaleziono starych zamówień do usunięcia.");
|
_logger.LogInformation("Nothing to do.");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
catch (Exception ex)
|
catch (Exception ex)
|
||||||
{
|
{
|
||||||
_logger.LogError(ex, "Błąd podczas usuwania starych zamówień.");
|
_logger.LogError(ex, "Error occured:");
|
||||||
}
|
}
|
||||||
|
|
||||||
await Task.Delay(_interval, stoppingToken);
|
await Task.Delay(_interval, stoppingToken);
|
||||||
|
|||||||
@ -1,6 +1,4 @@
|
|||||||
using System;
|
namespace Drab.Logic.Services;
|
||||||
|
|
||||||
namespace Drab.Logic.Services;
|
|
||||||
|
|
||||||
public class OrderEventBus
|
public class OrderEventBus
|
||||||
{
|
{
|
||||||
|
|||||||
@ -1,27 +1,14 @@
|
|||||||
using Drab.Logic.Dtos;
|
using System.Reflection;
|
||||||
using Drab.Logic.Interfaces;
|
|
||||||
using FastReport;
|
using FastReport;
|
||||||
using FastReport.Export.PdfSimple;
|
using FastReport.Export.PdfSimple;
|
||||||
using NLog;
|
|
||||||
using System;
|
|
||||||
using System.IO;
|
|
||||||
using System.Reflection;
|
|
||||||
using System.Threading.Tasks;
|
|
||||||
|
|
||||||
namespace Drab.Logic.Services;
|
namespace Drab.Logic.Services;
|
||||||
|
|
||||||
internal class OrderPdfGenerator : IOrderPdfGenerator
|
internal class OrderPdfGenerator(ILogger<OrderPdfGenerator> logger) : IOrderPdfGenerator
|
||||||
{
|
{
|
||||||
private readonly ILogger _logger;
|
|
||||||
|
|
||||||
public OrderPdfGenerator()
|
|
||||||
{
|
|
||||||
_logger = LogManager.GetCurrentClassLogger();
|
|
||||||
}
|
|
||||||
|
|
||||||
public Task<string> GenerateOrder(DokDto order)
|
public Task<string> GenerateOrder(DokDto order)
|
||||||
{
|
{
|
||||||
_logger.Info($"Generate pdf document: {order.NrDok}");
|
logger.LogInformation("Generate pdf document: {OrderNo}", order.NrDok);
|
||||||
var cleanFilename = order.NrDok.Replace('/', '-');
|
var cleanFilename = order.NrDok.Replace('/', '-');
|
||||||
var orderFilename = $"Zam_{cleanFilename}_{order.Data:yyyy-MM-dd}_{order.Sklep}_{order.DokId}.pdf";
|
var orderFilename = $"Zam_{cleanFilename}_{order.Data:yyyy-MM-dd}_{order.Sklep}_{order.DokId}.pdf";
|
||||||
var templatePath = Path.Combine(Constants.ReportsTemplatesPath, "Order.frx");
|
var templatePath = Path.Combine(Constants.ReportsTemplatesPath, "Order.frx");
|
||||||
@ -44,7 +31,7 @@ internal class OrderPdfGenerator : IOrderPdfGenerator
|
|||||||
}
|
}
|
||||||
catch (Exception e)
|
catch (Exception e)
|
||||||
{
|
{
|
||||||
_logger.Error(e, "Error on generating order document: {OrderNo}", order.NrDok);
|
logger.LogError(e, "Error on generating order document: {OrderNo}", order.NrDok);
|
||||||
return Task.FromResult(string.Empty);
|
return Task.FromResult(string.Empty);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,20 +1,10 @@
|
|||||||
using Drab.LocalDb;
|
using Microsoft.EntityFrameworkCore;
|
||||||
using Drab.LocalDb.Entities;
|
|
||||||
using Drab.Logic.Dtos;
|
|
||||||
using Drab.Logic.Interfaces;
|
|
||||||
using Drab.Logic.Models;
|
|
||||||
using Microsoft.EntityFrameworkCore;
|
|
||||||
using Microsoft.Extensions.DependencyInjection;
|
|
||||||
using NLog;
|
|
||||||
using System;
|
|
||||||
using System.IO;
|
|
||||||
using System.Threading.Tasks;
|
|
||||||
|
|
||||||
namespace Drab.Logic.Services;
|
namespace Drab.Logic.Services;
|
||||||
|
|
||||||
public class OrderProcessor : IOrderProcessor
|
public class OrderProcessor : IOrderProcessor
|
||||||
{
|
{
|
||||||
private readonly ILogger _logger;
|
private readonly ILogger<OrderProcessor> _logger;
|
||||||
private readonly IServiceScopeFactory _serviceScopeFactory;
|
private readonly IServiceScopeFactory _serviceScopeFactory;
|
||||||
private readonly IPrintService _printService;
|
private readonly IPrintService _printService;
|
||||||
private readonly IOrderPdfGenerator _orderPdfGenerator;
|
private readonly IOrderPdfGenerator _orderPdfGenerator;
|
||||||
@ -23,13 +13,13 @@ public class OrderProcessor : IOrderProcessor
|
|||||||
public OrderProcessor(IServiceScopeFactory serviceScopeFactory,
|
public OrderProcessor(IServiceScopeFactory serviceScopeFactory,
|
||||||
IPrintService printService,
|
IPrintService printService,
|
||||||
IOrderPdfGenerator orderPdfGenerator,
|
IOrderPdfGenerator orderPdfGenerator,
|
||||||
OrderEventBus eventBus)
|
OrderEventBus eventBus, ILogger<OrderProcessor> logger)
|
||||||
{
|
{
|
||||||
_logger = LogManager.GetCurrentClassLogger();
|
|
||||||
_serviceScopeFactory = serviceScopeFactory;
|
_serviceScopeFactory = serviceScopeFactory;
|
||||||
_printService = printService;
|
_printService = printService;
|
||||||
_orderPdfGenerator = orderPdfGenerator;
|
_orderPdfGenerator = orderPdfGenerator;
|
||||||
_eventBus = eventBus;
|
_eventBus = eventBus;
|
||||||
|
_logger = logger;
|
||||||
}
|
}
|
||||||
|
|
||||||
public async Task ProcessOrder(DokDto order)
|
public async Task ProcessOrder(DokDto order)
|
||||||
@ -40,7 +30,6 @@ public class OrderProcessor : IOrderProcessor
|
|||||||
return;
|
return;
|
||||||
|
|
||||||
var filePath = await EnsureOrderPdfExists(order, dok);
|
var filePath = await EnsureOrderPdfExists(order, dok);
|
||||||
|
|
||||||
var printResult = await PrintOrder(order, filePath);
|
var printResult = await PrintOrder(order, filePath);
|
||||||
|
|
||||||
if (printResult.IsSuccess)
|
if (printResult.IsSuccess)
|
||||||
@ -57,7 +46,7 @@ public class OrderProcessor : IOrderProcessor
|
|||||||
if (dok != null)
|
if (dok != null)
|
||||||
return dok;
|
return dok;
|
||||||
|
|
||||||
_logger.Info("Creating new order - {OrderNo}", order.NrDok);
|
_logger.LogInformation("Creating new order - {OrderNo}", order.NrDok);
|
||||||
|
|
||||||
dok = new OrderDb
|
dok = new OrderDb
|
||||||
{
|
{
|
||||||
@ -83,7 +72,7 @@ public class OrderProcessor : IOrderProcessor
|
|||||||
return fullPath;
|
return fullPath;
|
||||||
}
|
}
|
||||||
|
|
||||||
_logger.Info("Generating order file: {OrderNo}", order.NrDok);
|
_logger.LogInformation("Generating order file: {OrderNo}", order.NrDok);
|
||||||
|
|
||||||
var generatedFilename = await _orderPdfGenerator.GenerateOrder(order);
|
var generatedFilename = await _orderPdfGenerator.GenerateOrder(order);
|
||||||
var newPath = Path.Combine(Constants.ReportsOutputPath, generatedFilename);
|
var newPath = Path.Combine(Constants.ReportsOutputPath, generatedFilename);
|
||||||
@ -98,11 +87,11 @@ public class OrderProcessor : IOrderProcessor
|
|||||||
|
|
||||||
private async Task<PrintDocumentResult> PrintOrder(DokDto order, string filePath)
|
private async Task<PrintDocumentResult> PrintOrder(DokDto order, string filePath)
|
||||||
{
|
{
|
||||||
_logger.Info("Printing order: {OrderNo}", order.NrDok);
|
_logger.LogInformation("Printing order: {OrderNo}", order.NrDok);
|
||||||
|
|
||||||
var result = await _printService.PrintPdf(new PrintDocumentRequest(filePath, order.DokId));
|
var result = await _printService.PrintPdf(new PrintDocumentRequest(filePath, order.DokId));
|
||||||
|
|
||||||
_logger.Info("Printing result - OrderNo: {OrderNo}, Success: {IsSuccess}, Message: {Message}",
|
_logger.LogInformation("Printing result - OrderNo: {OrderNo}, Success: {IsSuccess}, Message: {Message}",
|
||||||
order.NrDok, result.IsSuccess, result.Message);
|
order.NrDok, result.IsSuccess, result.Message);
|
||||||
|
|
||||||
return result;
|
return result;
|
||||||
@ -120,7 +109,7 @@ public class OrderProcessor : IOrderProcessor
|
|||||||
}
|
}
|
||||||
catch (Exception e)
|
catch (Exception e)
|
||||||
{
|
{
|
||||||
_logger.Error(e, "Error retrieving order from database");
|
_logger.LogError(e, "Error retrieving order from database");
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,45 +1,41 @@
|
|||||||
using Drab.Core.Models;
|
using System.Globalization;
|
||||||
using Drab.Logic.Dtos;
|
using Drab.Core.Models;
|
||||||
using Drab.Logic.Interfaces;
|
|
||||||
using Microsoft.EntityFrameworkCore;
|
using Microsoft.EntityFrameworkCore;
|
||||||
using Microsoft.Extensions.DependencyInjection;
|
|
||||||
using NLog;
|
|
||||||
using Pcm.Db;
|
using Pcm.Db;
|
||||||
using Pcm.Db.Enums;
|
using Pcm.Db.Enums;
|
||||||
using System;
|
|
||||||
using System.Collections.Generic;
|
|
||||||
using System.Globalization;
|
|
||||||
using System.Linq;
|
|
||||||
using System.Threading.Tasks;
|
|
||||||
using Drab.Core.Configuration;
|
|
||||||
|
|
||||||
namespace Drab.Logic.Services;
|
namespace Drab.Logic.Services;
|
||||||
|
|
||||||
public class OrdersStore : IOrdersStore, IDisposable
|
public class OrdersStore : IOrdersStore, IDisposable
|
||||||
{
|
{
|
||||||
private readonly ILogger _logger;
|
private readonly ILogger<OrdersStore> _logger;
|
||||||
private readonly IServiceScopeFactory _serviceScopeFactory;
|
private readonly IServiceScopeFactory _serviceScopeFactory;
|
||||||
private readonly IDrabSettings _drabSettings;
|
private readonly IDrabSettings _drabSettings;
|
||||||
|
|
||||||
public OrdersStore(IServiceScopeFactory serviceScopeFactory, IDrabSettings drabSettings)
|
public OrdersStore(ILogger<OrdersStore> logger, IServiceScopeFactory serviceScopeFactory, IDrabSettings drabSettings)
|
||||||
{
|
{
|
||||||
_serviceScopeFactory = serviceScopeFactory;
|
_serviceScopeFactory = serviceScopeFactory;
|
||||||
_drabSettings = drabSettings;
|
_drabSettings = drabSettings;
|
||||||
_logger = LogManager.GetCurrentClassLogger();
|
_logger = logger;
|
||||||
}
|
}
|
||||||
|
|
||||||
public async Task<Result<List<DokDto>, string>> FetchOrders()
|
public async Task<Result<List<DokDto>, string>> FetchOrders()
|
||||||
{
|
{
|
||||||
_logger.Info("Fetch new orders");
|
_logger.LogInformation("Fetch new orders");
|
||||||
|
|
||||||
|
var now = DateTime.Now;
|
||||||
|
var fallbackDate = now - TimeSpan.FromDays(30);
|
||||||
DateTime date;
|
DateTime date;
|
||||||
|
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
date = DateTime.ParseExact(_drabSettings.IgnoreOrdersBefore, "yyyy-MM-dd", CultureInfo.InvariantCulture);
|
var parsed = DateTime.ParseExact(_drabSettings.IgnoreOrdersBefore, "yyyy-MM-dd", CultureInfo.InvariantCulture);
|
||||||
|
date = (now - parsed).TotalDays > 30 ? fallbackDate : parsed;
|
||||||
}
|
}
|
||||||
catch
|
catch
|
||||||
{
|
{
|
||||||
date = DateTime.Now - TimeSpan.FromDays(30);
|
_logger.LogWarning("IgnoreOrdersBefore is invalid, falling back to last 30 days.");
|
||||||
|
date = fallbackDate;
|
||||||
}
|
}
|
||||||
|
|
||||||
using var scope = _serviceScopeFactory.CreateScope();
|
using var scope = _serviceScopeFactory.CreateScope();
|
||||||
@ -67,7 +63,7 @@ public class OrdersStore : IOrdersStore, IDisposable
|
|||||||
}
|
}
|
||||||
catch (Exception e)
|
catch (Exception e)
|
||||||
{
|
{
|
||||||
_logger.Error(e, "Error on fetching orders");
|
_logger.LogError(e, "Error on fetching orders");
|
||||||
return Result.Failed<List<DokDto>, string>(e.Message);
|
return Result.Failed<List<DokDto>, string>(e.Message);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,26 +1,11 @@
|
|||||||
using Drab.Core.Configuration;
|
using System.Drawing.Printing;
|
||||||
using Drab.Logic.Interfaces;
|
|
||||||
using Drab.Logic.Models;
|
|
||||||
using PdfiumViewer;
|
|
||||||
using System;
|
|
||||||
using System.Collections.Generic;
|
|
||||||
using System.Drawing.Printing;
|
|
||||||
using System.IO;
|
|
||||||
using System.Linq;
|
|
||||||
using System.Printing;
|
using System.Printing;
|
||||||
using System.Threading.Tasks;
|
using PdfiumViewer;
|
||||||
|
|
||||||
namespace Drab.Logic.Services;
|
namespace Drab.Logic.Services;
|
||||||
|
|
||||||
public class PrintService : IPrintService
|
public class PrintService(IDrabSettings drabSettings) : IPrintService
|
||||||
{
|
{
|
||||||
private readonly IDrabSettings _drabSettings;
|
|
||||||
|
|
||||||
public PrintService(IDrabSettings drabSettings)
|
|
||||||
{
|
|
||||||
_drabSettings = drabSettings;
|
|
||||||
}
|
|
||||||
|
|
||||||
public async Task<PrintDocumentResult> PrintPdf(PrintDocumentRequest request)
|
public async Task<PrintDocumentResult> PrintPdf(PrintDocumentRequest request)
|
||||||
{
|
{
|
||||||
try
|
try
|
||||||
@ -46,7 +31,7 @@ public class PrintService : IPrintService
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
await Task.Delay(TimeSpan.FromSeconds(_drabSettings.PrinterTimeoutSeconds));
|
await Task.Delay(TimeSpan.FromSeconds(drabSettings.PrinterTimeoutSeconds));
|
||||||
|
|
||||||
var jobs = GetPrintJobs(request.DokId.ToString());
|
var jobs = GetPrintJobs(request.DokId.ToString());
|
||||||
if (jobs.Count == 0)
|
if (jobs.Count == 0)
|
||||||
|
|||||||
@ -1,5 +1,5 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<Report ScriptLanguage="CSharp" ReportInfo.Name="Zamówienie" ReportInfo.Author="Piekarnia-Cukiernia BRZĘCZEK SP.K." ReportInfo.Version="1.0.0" ReportInfo.Created="06/20/2009 22:40:42" ReportInfo.Modified="07/11/2025 00:08:23" ReportInfo.CreatorVersion="2025.2.0.0">
|
<Report ScriptLanguage="CSharp" ReportInfo.Name="Zamówienie" ReportInfo.Author="Piekarnia-Cukiernia BRZĘCZEK SP.K." ReportInfo.Version="1.0.0" ReportInfo.Created="06/20/2009 22:40:42" ReportInfo.Modified="07/11/2025 01:02:35" ReportInfo.CreatorVersion="2025.2.0.0">
|
||||||
<Styles>
|
<Styles>
|
||||||
<Style Name="Dark" Fill.Color="Gainsboro" Font="Arial, 10pt" ApplyBorder="false" ApplyTextFill="false" ApplyFont="false"/>
|
<Style Name="Dark" Fill.Color="Gainsboro" Font="Arial, 10pt" ApplyBorder="false" ApplyTextFill="false" ApplyFont="false"/>
|
||||||
</Styles>
|
</Styles>
|
||||||
@ -37,11 +37,11 @@
|
|||||||
<Parameter Name="generatedAt" DataType="System.String" AsString=""/>
|
<Parameter Name="generatedAt" DataType="System.String" AsString=""/>
|
||||||
<Parameter Name="version" DataType="System.String" AsString=""/>
|
<Parameter Name="version" DataType="System.String" AsString=""/>
|
||||||
</Dictionary>
|
</Dictionary>
|
||||||
<ReportPage Name="Page1" RawPaperSize="9" Watermark.Font="Arial, 60pt" LastPageSource="15" FirstPageSource="15" OtherPageSource="15">
|
<ReportPage Name="Page1" RawPaperSize="9" Watermark.Font="Arial, 60pt" LastPageSource="15" FirstPageSource="15">
|
||||||
<PageHeaderBand Name="PageHeader1" Width="718.2" Height="85.05">
|
<PageHeaderBand Name="PageHeader1" Width="718.2" Height="85.05">
|
||||||
<TextObject Name="Text18" Width="718.2" Height="28.35" Text="[Order.NrDok]" HorzAlign="Center" Font="Arial, 14pt, style=Bold"/>
|
<TextObject Name="Text18" Width="718.2" Height="28.35" Text="[Order.NrDok]" HorzAlign="Center" Font="Arial, 14pt, style=Bold"/>
|
||||||
<TextObject Name="Text20" Top="37.8" Width="283.5" Height="28.35" Text="Data: [Order.Data] " VertAlign="Center" Font="Arial, 11pt, style=Bold"/>
|
<TextObject Name="Text20" Top="37.8" Width="283.5" Height="28.35" Text="Data: [Order.Data] " VertAlign="Center" Font="Arial, 11pt, style=Bold"/>
|
||||||
<TextObject Name="Text19" Left="292.95" Top="37.8" Width="396.9" Height="28.35" Text="Sklep: [Order.Sklep]" HorzAlign="Right" VertAlign="Center" Font="Arial, 11pt, style=Bold"/>
|
<TextObject Name="Text19" Left="283.5" Top="37.8" Width="434.7" Height="28.35" Text="Sklep: [Order.Sklep]" HorzAlign="Right" VertAlign="Center" Font="Arial, 11pt, style=Bold"/>
|
||||||
</PageHeaderBand>
|
</PageHeaderBand>
|
||||||
<DataBand Name="Data1" Top="86.65" Width="718.2" Height="28.35" DataSource="Order">
|
<DataBand Name="Data1" Top="86.65" Width="718.2" Height="28.35" DataSource="Order">
|
||||||
<TableObject Name="Table2" Width="717.95" Height="28.35">
|
<TableObject Name="Table2" Width="717.95" Height="28.35">
|
||||||
@ -81,10 +81,10 @@
|
|||||||
<LineObject Name="Line3" Width="718.2" Diagonal="true"/>
|
<LineObject Name="Line3" Width="718.2" Diagonal="true"/>
|
||||||
</DataFooterBand>
|
</DataFooterBand>
|
||||||
</DataBand>
|
</DataBand>
|
||||||
<PageFooterBand Name="PageFooter1" Top="242.8" Width="718.2" Height="18.9">
|
<PageFooterBand Name="PageFooter1" Top="242.8" Width="718.2" Height="47.25">
|
||||||
<TextObject Name="Text6" Left="471" Width="245.7" Height="18.9" Text="Strona [Page#] z [TotalPages#]" HorzAlign="Right" VertAlign="Center" Font="Arial, 10pt"/>
|
<TextObject Name="Text6" Left="471" Width="245.7" Height="18.9" Text="Strona [Page#] z [TotalPages#]" HorzAlign="Right" VertAlign="Center" Font="Arial, 10pt"/>
|
||||||
<TextObject Name="Text7" Width="245.7" Height="18.9" Text="Wygenerowano: [generatedAt]" VertAlign="Center" Font="Arial, 10pt"/>
|
<TextObject Name="Text7" Width="245.7" Height="18.9" Text="Wygenerowano: [generatedAt]" VertAlign="Center" Font="Arial, 10pt"/>
|
||||||
<TextObject Name="Text17" Left="245.7" Width="226.8" Height="18.9" Text="DRAB [version]" HorzAlign="Center" VertAlign="Center" Font="Arial, 10pt"/>
|
<TextObject Name="Text17" Top="28.35" Width="718.2" Height="18.9" Text="DRAB [version]" HorzAlign="Center" VertAlign="Center" Font="Arial, 10pt" TextFill.Color="Silver"/>
|
||||||
</PageFooterBand>
|
</PageFooterBand>
|
||||||
</ReportPage>
|
</ReportPage>
|
||||||
</Report>
|
</Report>
|
||||||
|
|||||||
@ -1,12 +1,4 @@
|
|||||||
using Drab.Core.Configuration;
|
using Microsoft.Extensions.Hosting;
|
||||||
using Drab.Logic.Interfaces;
|
|
||||||
using Microsoft.Extensions.DependencyInjection;
|
|
||||||
using NLog;
|
|
||||||
using System;
|
|
||||||
using System.Linq;
|
|
||||||
using System.Threading;
|
|
||||||
using System.Threading.Tasks;
|
|
||||||
using Microsoft.Extensions.Hosting;
|
|
||||||
|
|
||||||
namespace Drab.Logic.Utils;
|
namespace Drab.Logic.Utils;
|
||||||
|
|
||||||
@ -15,14 +7,14 @@ public class DbFetcher : BackgroundService
|
|||||||
private readonly IDrabSettings _drabSettings;
|
private readonly IDrabSettings _drabSettings;
|
||||||
private readonly IServiceScopeFactory _serviceScopeFactory;
|
private readonly IServiceScopeFactory _serviceScopeFactory;
|
||||||
private readonly IOrderProcessor _orderProcessor;
|
private readonly IOrderProcessor _orderProcessor;
|
||||||
private readonly ILogger _logger;
|
private readonly ILogger<DbFetcher> _logger;
|
||||||
|
|
||||||
public DbFetcher(IDrabSettings drabSettings, IServiceScopeFactory serviceScopeFactory, IOrderProcessor orderProcessor)
|
public DbFetcher(IDrabSettings drabSettings, IServiceScopeFactory serviceScopeFactory, IOrderProcessor orderProcessor, ILogger<DbFetcher> logger)
|
||||||
{
|
{
|
||||||
_drabSettings = drabSettings;
|
_drabSettings = drabSettings;
|
||||||
_serviceScopeFactory = serviceScopeFactory;
|
_serviceScopeFactory = serviceScopeFactory;
|
||||||
_orderProcessor = orderProcessor;
|
_orderProcessor = orderProcessor;
|
||||||
_logger = LogManager.GetCurrentClassLogger();
|
_logger = logger;
|
||||||
}
|
}
|
||||||
|
|
||||||
protected override Task ExecuteAsync(CancellationToken stoppingToken)
|
protected override Task ExecuteAsync(CancellationToken stoppingToken)
|
||||||
@ -31,12 +23,12 @@ public class DbFetcher : BackgroundService
|
|||||||
return Task.CompletedTask;
|
return Task.CompletedTask;
|
||||||
}
|
}
|
||||||
|
|
||||||
public async Task Start()
|
private async Task Start()
|
||||||
{
|
{
|
||||||
await Task.Delay(TimeSpan.FromSeconds(2));
|
await Task.Delay(TimeSpan.FromSeconds(2));
|
||||||
while (true)
|
while (true)
|
||||||
{
|
{
|
||||||
_logger.Info("Fetch database for new orders");
|
_logger.LogInformation("Fetch database for new orders");
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
using var scope = _serviceScopeFactory.CreateScope();
|
using var scope = _serviceScopeFactory.CreateScope();
|
||||||
@ -44,14 +36,14 @@ public class DbFetcher : BackgroundService
|
|||||||
var result = await orderStore.FetchOrders();
|
var result = await orderStore.FetchOrders();
|
||||||
|
|
||||||
if (result.IsNotOk)
|
if (result.IsNotOk)
|
||||||
_logger.Warn($"Fetch orders result failed: {result.Error}");
|
_logger.LogWarning($"Fetch orders result failed: {result.Error}");
|
||||||
|
|
||||||
result.Value.ToList()
|
result.Value.ToList()
|
||||||
.ForEach(x => _orderProcessor.ProcessOrder(x));
|
.ForEach(x => _orderProcessor.ProcessOrder(x));
|
||||||
}
|
}
|
||||||
catch (Exception e)
|
catch (Exception e)
|
||||||
{
|
{
|
||||||
_logger.Error(e, "Error on fetching new orders data:");
|
_logger.LogError(e, "Error on fetching new orders data:");
|
||||||
}
|
}
|
||||||
finally
|
finally
|
||||||
{
|
{
|
||||||
|
|||||||
@ -1,3 +1,4 @@
|
|||||||
|
using System.Globalization;
|
||||||
using System.Net;
|
using System.Net;
|
||||||
using Drab.Core.Configuration;
|
using Drab.Core.Configuration;
|
||||||
using Drab.Core.Ioc;
|
using Drab.Core.Ioc;
|
||||||
@ -11,6 +12,15 @@ using NLog.Extensions.Logging;
|
|||||||
using Pcm.Db.Ioc;
|
using Pcm.Db.Ioc;
|
||||||
using Radzen;
|
using Radzen;
|
||||||
|
|
||||||
|
|
||||||
|
var culture = new CultureInfo("pl-PL");
|
||||||
|
CultureInfo.DefaultThreadCurrentCulture = culture;
|
||||||
|
CultureInfo.DefaultThreadCurrentUICulture = culture;
|
||||||
|
CultureInfo.CurrentCulture = culture;
|
||||||
|
CultureInfo.CurrentUICulture = culture;
|
||||||
|
Thread.CurrentThread.CurrentCulture = culture;
|
||||||
|
Thread.CurrentThread.CurrentUICulture = culture;
|
||||||
|
|
||||||
var builder = WebApplication.CreateBuilder(args);
|
var builder = WebApplication.CreateBuilder(args);
|
||||||
|
|
||||||
var configurationBuilder = new ConfigurationBuilder()
|
var configurationBuilder = new ConfigurationBuilder()
|
||||||
|
|||||||
@ -1,4 +1,4 @@
|
|||||||
@using Drab.Ui.components
|
@using Drab.Ui.Components
|
||||||
@using Microsoft.AspNetCore.Components.Web
|
@using Microsoft.AspNetCore.Components.Web
|
||||||
@using Radzen
|
@using Radzen
|
||||||
|
|
||||||
@ -18,7 +18,8 @@
|
|||||||
|
|
||||||
<body>
|
<body>
|
||||||
<Routes @rendermode="RenderMode.InteractiveServer"/>
|
<Routes @rendermode="RenderMode.InteractiveServer"/>
|
||||||
<script src="_content/Radzen.Blazor/Radzen.Blazor.js?v=@(typeof(Colors).Assembly.GetName().Version)"></script>
|
<script src="_content/Radzen.Blazor/Radzen.Blazor.js?v=@(typeof(Colors).Assembly.GetName()
|
||||||
|
.Version)"></script>
|
||||||
<script src="_framework/blazor.web.js"></script>
|
<script src="_framework/blazor.web.js"></script>
|
||||||
</body>
|
</body>
|
||||||
|
|
||||||
|
|||||||
@ -2,7 +2,8 @@
|
|||||||
@using Drab.LocalDb
|
@using Drab.LocalDb
|
||||||
@using Drab.LocalDb.Entities
|
@using Drab.LocalDb.Entities
|
||||||
@using Drab.Logic.Services
|
@using Drab.Logic.Services
|
||||||
@using Drab.Ui.components
|
@using Drab.Ui.Components
|
||||||
|
@using Microsoft.EntityFrameworkCore
|
||||||
@using Radzen
|
@using Radzen
|
||||||
@inject LocalDbContext LocalDbContext
|
@inject LocalDbContext LocalDbContext
|
||||||
@inject DialogService DialogService
|
@inject DialogService DialogService
|
||||||
@ -64,20 +65,20 @@
|
|||||||
</RadzenDataGrid>
|
</RadzenDataGrid>
|
||||||
|
|
||||||
@code {
|
@code {
|
||||||
IQueryable<OrderDb> _orders;
|
List<OrderDb> _orders;
|
||||||
private RadzenDataGrid<OrderDb>? _dataGridRef;
|
private RadzenDataGrid<OrderDb>? _dataGridRef;
|
||||||
|
|
||||||
protected override void OnInitialized()
|
protected override void OnInitialized()
|
||||||
{
|
{
|
||||||
EventBus.OrdersChanged += OnOrdersChanged;
|
EventBus.OrdersChanged += OnOrdersChanged;
|
||||||
_orders = LocalDbContext.Orders;
|
_orders = LocalDbContext.Orders.AsNoTracking().ToList();
|
||||||
}
|
}
|
||||||
|
|
||||||
private async Task RowClick(DataGridRowMouseEventArgs<OrderDb> obj)
|
private async Task RowClick(DataGridRowMouseEventArgs<OrderDb> obj)
|
||||||
{
|
{
|
||||||
await DialogService.OpenAsync<PdfViewer>($"Zamówienie {obj.Data.OrderNumber} - Sklep {obj.Data.Shop}",
|
await DialogService.OpenAsync<PdfViewer>($"Zamówienie {obj.Data.OrderNumber} - Sklep {obj.Data.Shop}",
|
||||||
new Dictionary<string, object>() {{nameof(PdfViewer.Filename), obj.Data.Filename}},
|
new Dictionary<string, object> {{nameof(PdfViewer.Filename), obj.Data.Filename}},
|
||||||
new DialogOptions()
|
new DialogOptions
|
||||||
{
|
{
|
||||||
CloseDialogOnEsc = true,
|
CloseDialogOnEsc = true,
|
||||||
CloseDialogOnOverlayClick = true,
|
CloseDialogOnOverlayClick = true,
|
||||||
@ -92,8 +93,8 @@
|
|||||||
{
|
{
|
||||||
InvokeAsync(() =>
|
InvokeAsync(() =>
|
||||||
{
|
{
|
||||||
_orders = LocalDbContext.Orders;
|
_orders = LocalDbContext.Orders.AsNoTracking().ToList();
|
||||||
_dataGridRef?.Reload();
|
_dataGridRef?.RefreshDataAsync();
|
||||||
StateHasChanged();
|
StateHasChanged();
|
||||||
return Task.CompletedTask;
|
return Task.CompletedTask;
|
||||||
});
|
});
|
||||||
|
|||||||
@ -1,10 +0,0 @@
|
|||||||
{
|
|
||||||
"DetailedErrors": true,
|
|
||||||
"Logging": {
|
|
||||||
"LogLevel": {
|
|
||||||
"Default": "Information",
|
|
||||||
"Microsoft": "Warning",
|
|
||||||
"Microsoft.Hosting.Lifetime": "Information"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@ -3,7 +3,8 @@
|
|||||||
"LogLevel": {
|
"LogLevel": {
|
||||||
"Default": "Information",
|
"Default": "Information",
|
||||||
"Microsoft": "Warning",
|
"Microsoft": "Warning",
|
||||||
"Microsoft.Hosting.Lifetime": "Information"
|
"Microsoft.Hosting.Lifetime": "Information",
|
||||||
|
"Microsoft.EntityFrameworkCore.Model.Validation": "None"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"ListenPort": 80,
|
"ListenPort": 80,
|
||||||
@ -11,7 +12,7 @@
|
|||||||
"DrabSettings": {
|
"DrabSettings": {
|
||||||
"DbPollingFrequencyInSeconds": 180,
|
"DbPollingFrequencyInSeconds": 180,
|
||||||
"PrinterTimeoutSeconds": 30,
|
"PrinterTimeoutSeconds": 30,
|
||||||
"IgnoreOrdersBefore": "2025-07-11"
|
"IgnoreOrdersBefore": "2025-07-08"
|
||||||
},
|
},
|
||||||
"PcmDbSettings": {
|
"PcmDbSettings": {
|
||||||
"Host": "192.168.200.6",
|
"Host": "192.168.200.6",
|
||||||
|
|||||||
@ -25,6 +25,8 @@
|
|||||||
</targets>
|
</targets>
|
||||||
|
|
||||||
<rules>
|
<rules>
|
||||||
|
<logger name="Microsoft.EntityFrameworkCore.Model.Validation" minlevel="Info" final="true"/>
|
||||||
|
<logger name="Microsoft.EntityFrameworkCore.Query" minlevel="Info" final="true"/>
|
||||||
<logger name="Microsoft.Hosting.Lifetime" minlevel="Info" writeTo="File, Console" final="true"/>
|
<logger name="Microsoft.Hosting.Lifetime" minlevel="Info" writeTo="File, Console" final="true"/>
|
||||||
<logger name="Microsoft.*" maxlevel="Info" final="true"/>
|
<logger name="Microsoft.*" maxlevel="Info" final="true"/>
|
||||||
<logger name="System.Net.Http.*" maxlevel="Info" final="true"/>
|
<logger name="System.Net.Http.*" maxlevel="Info" final="true"/>
|
||||||
|
|||||||
@ -1,8 +1,4 @@
|
|||||||
using System.Collections.Generic;
|
namespace Pcm.Db.Entities;
|
||||||
|
|
||||||
#nullable disable
|
|
||||||
|
|
||||||
namespace Pcm.Db.Entities;
|
|
||||||
|
|
||||||
public class Akwizytor
|
public class Akwizytor
|
||||||
{
|
{
|
||||||
|
|||||||
@ -1,8 +1,4 @@
|
|||||||
using System.Collections.Generic;
|
namespace Pcm.Db.Entities;
|
||||||
|
|
||||||
#nullable disable
|
|
||||||
|
|
||||||
namespace Pcm.Db.Entities;
|
|
||||||
|
|
||||||
public class Artykul
|
public class Artykul
|
||||||
{
|
{
|
||||||
|
|||||||
@ -1,7 +1,4 @@
|
|||||||
using System.Collections.Generic;
|
using System.Text.Json.Serialization;
|
||||||
using System.Text.Json.Serialization;
|
|
||||||
|
|
||||||
#nullable disable
|
|
||||||
|
|
||||||
namespace Pcm.Db.Entities;
|
namespace Pcm.Db.Entities;
|
||||||
|
|
||||||
|
|||||||
@ -1,9 +1,4 @@
|
|||||||
using System;
|
namespace Pcm.Db.Entities;
|
||||||
using System.Collections.Generic;
|
|
||||||
|
|
||||||
#nullable disable
|
|
||||||
|
|
||||||
namespace Pcm.Db.Entities;
|
|
||||||
|
|
||||||
public class Bank
|
public class Bank
|
||||||
{
|
{
|
||||||
|
|||||||
@ -1,6 +1,4 @@
|
|||||||
#nullable disable
|
namespace Pcm.Db.Entities;
|
||||||
|
|
||||||
namespace Pcm.Db.Entities;
|
|
||||||
|
|
||||||
public class Blokadum
|
public class Blokadum
|
||||||
{
|
{
|
||||||
|
|||||||
@ -1,8 +1,4 @@
|
|||||||
using System;
|
namespace Pcm.Db.Entities;
|
||||||
|
|
||||||
#nullable disable
|
|
||||||
|
|
||||||
namespace Pcm.Db.Entities;
|
|
||||||
|
|
||||||
public class CentrStanZgody
|
public class CentrStanZgody
|
||||||
{
|
{
|
||||||
|
|||||||
@ -1,8 +1,4 @@
|
|||||||
using System;
|
namespace Pcm.Db.Entities;
|
||||||
|
|
||||||
#nullable disable
|
|
||||||
|
|
||||||
namespace Pcm.Db.Entities;
|
|
||||||
|
|
||||||
public class Cza
|
public class Cza
|
||||||
{
|
{
|
||||||
|
|||||||
@ -1,9 +1,4 @@
|
|||||||
using System;
|
namespace Pcm.Db.Entities;
|
||||||
using System.Collections.Generic;
|
|
||||||
|
|
||||||
#nullable disable
|
|
||||||
|
|
||||||
namespace Pcm.Db.Entities;
|
|
||||||
|
|
||||||
public class DefinicjaKodu
|
public class DefinicjaKodu
|
||||||
{
|
{
|
||||||
|
|||||||
@ -1,8 +1,4 @@
|
|||||||
using System;
|
using System.Text.Json.Serialization;
|
||||||
using System.Collections.Generic;
|
|
||||||
using System.Text.Json.Serialization;
|
|
||||||
|
|
||||||
#nullable disable
|
|
||||||
|
|
||||||
namespace Pcm.Db.Entities;
|
namespace Pcm.Db.Entities;
|
||||||
|
|
||||||
|
|||||||
@ -1,6 +1,4 @@
|
|||||||
#nullable disable
|
namespace Pcm.Db.Entities;
|
||||||
|
|
||||||
namespace Pcm.Db.Entities;
|
|
||||||
|
|
||||||
public class DokDodKth
|
public class DokDodKth
|
||||||
{
|
{
|
||||||
|
|||||||
@ -1,6 +1,4 @@
|
|||||||
#nullable disable
|
namespace Pcm.Db.Entities;
|
||||||
|
|
||||||
namespace Pcm.Db.Entities;
|
|
||||||
|
|
||||||
public class DokKasa
|
public class DokKasa
|
||||||
{
|
{
|
||||||
|
|||||||
@ -1,6 +1,4 @@
|
|||||||
#nullable disable
|
namespace Pcm.Db.Entities;
|
||||||
|
|
||||||
namespace Pcm.Db.Entities;
|
|
||||||
|
|
||||||
public class DokKontoBankowe
|
public class DokKontoBankowe
|
||||||
{
|
{
|
||||||
|
|||||||
@ -1,7 +1,5 @@
|
|||||||
using System.Text.Json.Serialization;
|
using System.Text.Json.Serialization;
|
||||||
|
|
||||||
#nullable disable
|
|
||||||
|
|
||||||
namespace Pcm.Db.Entities;
|
namespace Pcm.Db.Entities;
|
||||||
|
|
||||||
public class DokKontr
|
public class DokKontr
|
||||||
|
|||||||
@ -1,8 +1,4 @@
|
|||||||
using System;
|
namespace Pcm.Db.Entities;
|
||||||
|
|
||||||
#nullable disable
|
|
||||||
|
|
||||||
namespace Pcm.Db.Entities;
|
|
||||||
|
|
||||||
public class DokKur
|
public class DokKur
|
||||||
{
|
{
|
||||||
|
|||||||
@ -1,8 +1,4 @@
|
|||||||
using System;
|
namespace Pcm.Db.Entities;
|
||||||
|
|
||||||
#nullable disable
|
|
||||||
|
|
||||||
namespace Pcm.Db.Entities;
|
|
||||||
|
|
||||||
public class DokPunkty
|
public class DokPunkty
|
||||||
{
|
{
|
||||||
|
|||||||
@ -1,6 +1,4 @@
|
|||||||
#nullable disable
|
namespace Pcm.Db.Entities;
|
||||||
|
|
||||||
namespace Pcm.Db.Entities;
|
|
||||||
|
|
||||||
public class DokWalutum
|
public class DokWalutum
|
||||||
{
|
{
|
||||||
|
|||||||
@ -1,6 +1,4 @@
|
|||||||
#nullable disable
|
namespace Pcm.Db.Entities;
|
||||||
|
|
||||||
namespace Pcm.Db.Entities;
|
|
||||||
|
|
||||||
public class DostProd
|
public class DostProd
|
||||||
{
|
{
|
||||||
|
|||||||
@ -1,6 +1,4 @@
|
|||||||
#nullable disable
|
namespace Pcm.Db.Entities;
|
||||||
|
|
||||||
namespace Pcm.Db.Entities;
|
|
||||||
|
|
||||||
public class Dostawca
|
public class Dostawca
|
||||||
{
|
{
|
||||||
|
|||||||
@ -1,9 +1,4 @@
|
|||||||
using System;
|
namespace Pcm.Db.Entities;
|
||||||
using System.Collections.Generic;
|
|
||||||
|
|
||||||
#nullable disable
|
|
||||||
|
|
||||||
namespace Pcm.Db.Entities;
|
|
||||||
|
|
||||||
public class DzienRozl
|
public class DzienRozl
|
||||||
{
|
{
|
||||||
|
|||||||
@ -1,8 +1,4 @@
|
|||||||
using System;
|
namespace Pcm.Db.Entities;
|
||||||
|
|
||||||
#nullable disable
|
|
||||||
|
|
||||||
namespace Pcm.Db.Entities;
|
|
||||||
|
|
||||||
public class DzienRozlParam
|
public class DzienRozlParam
|
||||||
{
|
{
|
||||||
|
|||||||
@ -1,6 +1,4 @@
|
|||||||
#nullable disable
|
namespace Pcm.Db.Entities;
|
||||||
|
|
||||||
namespace Pcm.Db.Entities;
|
|
||||||
|
|
||||||
public class FormZgod
|
public class FormZgod
|
||||||
{
|
{
|
||||||
|
|||||||
@ -1,9 +1,4 @@
|
|||||||
using System;
|
namespace Pcm.Db.Entities;
|
||||||
using System.Collections.Generic;
|
|
||||||
|
|
||||||
#nullable disable
|
|
||||||
|
|
||||||
namespace Pcm.Db.Entities;
|
|
||||||
|
|
||||||
public class FormaPlatnPos7
|
public class FormaPlatnPos7
|
||||||
{
|
{
|
||||||
|
|||||||
@ -1,6 +1,4 @@
|
|||||||
#nullable disable
|
namespace Pcm.Db.Entities;
|
||||||
|
|
||||||
namespace Pcm.Db.Entities;
|
|
||||||
|
|
||||||
public class FormaPlatnosci
|
public class FormaPlatnosci
|
||||||
{
|
{
|
||||||
|
|||||||
@ -1,6 +1,4 @@
|
|||||||
#nullable disable
|
namespace Pcm.Db.Entities;
|
||||||
|
|
||||||
namespace Pcm.Db.Entities;
|
|
||||||
|
|
||||||
public class GrWartosc
|
public class GrWartosc
|
||||||
{
|
{
|
||||||
|
|||||||
@ -1,9 +1,4 @@
|
|||||||
using System;
|
namespace Pcm.Db.Entities;
|
||||||
using System.Collections.Generic;
|
|
||||||
|
|
||||||
#nullable disable
|
|
||||||
|
|
||||||
namespace Pcm.Db.Entities;
|
|
||||||
|
|
||||||
public class GrupaAkcyzowa
|
public class GrupaAkcyzowa
|
||||||
{
|
{
|
||||||
|
|||||||
@ -1,8 +1,4 @@
|
|||||||
using System.Collections.Generic;
|
namespace Pcm.Db.Entities;
|
||||||
|
|
||||||
#nullable disable
|
|
||||||
|
|
||||||
namespace Pcm.Db.Entities;
|
|
||||||
|
|
||||||
public class GrupaTow
|
public class GrupaTow
|
||||||
{
|
{
|
||||||
|
|||||||
@ -1,6 +1,4 @@
|
|||||||
#nullable disable
|
namespace Pcm.Db.Entities;
|
||||||
|
|
||||||
namespace Pcm.Db.Entities;
|
|
||||||
|
|
||||||
public class GrupaUz
|
public class GrupaUz
|
||||||
{
|
{
|
||||||
|
|||||||
@ -1,6 +1,4 @@
|
|||||||
#nullable disable
|
namespace Pcm.Db.Entities;
|
||||||
|
|
||||||
namespace Pcm.Db.Entities;
|
|
||||||
|
|
||||||
public class HarmCeny
|
public class HarmCeny
|
||||||
{
|
{
|
||||||
|
|||||||
@ -1,6 +1,4 @@
|
|||||||
#nullable disable
|
namespace Pcm.Db.Entities;
|
||||||
|
|
||||||
namespace Pcm.Db.Entities;
|
|
||||||
|
|
||||||
public class HarmCykl
|
public class HarmCykl
|
||||||
{
|
{
|
||||||
|
|||||||
@ -1,6 +1,4 @@
|
|||||||
#nullable disable
|
namespace Pcm.Db.Entities;
|
||||||
|
|
||||||
namespace Pcm.Db.Entities;
|
|
||||||
|
|
||||||
public class HarmHarm
|
public class HarmHarm
|
||||||
{
|
{
|
||||||
|
|||||||
@ -1,9 +1,4 @@
|
|||||||
using System;
|
namespace Pcm.Db.Entities;
|
||||||
using System.Collections.Generic;
|
|
||||||
|
|
||||||
#nullable disable
|
|
||||||
|
|
||||||
namespace Pcm.Db.Entities;
|
|
||||||
|
|
||||||
public class HarmWpi
|
public class HarmWpi
|
||||||
{
|
{
|
||||||
|
|||||||
@ -1,8 +1,4 @@
|
|||||||
using System.Collections.Generic;
|
namespace Pcm.Db.Entities;
|
||||||
|
|
||||||
#nullable disable
|
|
||||||
|
|
||||||
namespace Pcm.Db.Entities;
|
|
||||||
|
|
||||||
public class Istw
|
public class Istw
|
||||||
{
|
{
|
||||||
|
|||||||
@ -1,8 +1,4 @@
|
|||||||
using System.Collections.Generic;
|
namespace Pcm.Db.Entities;
|
||||||
|
|
||||||
#nullable disable
|
|
||||||
|
|
||||||
namespace Pcm.Db.Entities;
|
|
||||||
|
|
||||||
public class Jm
|
public class Jm
|
||||||
{
|
{
|
||||||
|
|||||||
@ -1,9 +1,4 @@
|
|||||||
using System;
|
namespace Pcm.Db.Entities;
|
||||||
using System.Collections.Generic;
|
|
||||||
|
|
||||||
#nullable disable
|
|
||||||
|
|
||||||
namespace Pcm.Db.Entities;
|
|
||||||
|
|
||||||
public class KartaLoj
|
public class KartaLoj
|
||||||
{
|
{
|
||||||
|
|||||||
@ -1,6 +1,4 @@
|
|||||||
#nullable disable
|
namespace Pcm.Db.Entities;
|
||||||
|
|
||||||
namespace Pcm.Db.Entities;
|
|
||||||
|
|
||||||
public class KasKod
|
public class KasKod
|
||||||
{
|
{
|
||||||
|
|||||||
@ -1,6 +1,4 @@
|
|||||||
#nullable disable
|
namespace Pcm.Db.Entities;
|
||||||
|
|
||||||
namespace Pcm.Db.Entities;
|
|
||||||
|
|
||||||
public class KasPar
|
public class KasPar
|
||||||
{
|
{
|
||||||
|
|||||||
@ -1,6 +1,4 @@
|
|||||||
#nullable disable
|
namespace Pcm.Db.Entities;
|
||||||
|
|
||||||
namespace Pcm.Db.Entities;
|
|
||||||
|
|
||||||
public class KasTow
|
public class KasTow
|
||||||
{
|
{
|
||||||
|
|||||||
@ -1,8 +1,4 @@
|
|||||||
using System.Collections.Generic;
|
namespace Pcm.Db.Entities;
|
||||||
|
|
||||||
#nullable disable
|
|
||||||
|
|
||||||
namespace Pcm.Db.Entities;
|
|
||||||
|
|
||||||
public class Kasa
|
public class Kasa
|
||||||
{
|
{
|
||||||
|
|||||||
@ -1,6 +1,4 @@
|
|||||||
#nullable disable
|
namespace Pcm.Db.Entities;
|
||||||
|
|
||||||
namespace Pcm.Db.Entities;
|
|
||||||
|
|
||||||
public class KasaFormaPlatn
|
public class KasaFormaPlatn
|
||||||
{
|
{
|
||||||
|
|||||||
@ -1,6 +1,4 @@
|
|||||||
#nullable disable
|
namespace Pcm.Db.Entities;
|
||||||
|
|
||||||
namespace Pcm.Db.Entities;
|
|
||||||
|
|
||||||
public class KatParam
|
public class KatParam
|
||||||
{
|
{
|
||||||
|
|||||||
@ -1,8 +1,4 @@
|
|||||||
using System.Collections.Generic;
|
namespace Pcm.Db.Entities;
|
||||||
|
|
||||||
#nullable disable
|
|
||||||
|
|
||||||
namespace Pcm.Db.Entities;
|
|
||||||
|
|
||||||
public class Kategorium
|
public class Kategorium
|
||||||
{
|
{
|
||||||
|
|||||||
@ -1,6 +1,4 @@
|
|||||||
#nullable disable
|
namespace Pcm.Db.Entities;
|
||||||
|
|
||||||
namespace Pcm.Db.Entities;
|
|
||||||
|
|
||||||
public class KodDod
|
public class KodDod
|
||||||
{
|
{
|
||||||
|
|||||||
@ -1,6 +1,4 @@
|
|||||||
#nullable disable
|
namespace Pcm.Db.Entities;
|
||||||
|
|
||||||
namespace Pcm.Db.Entities;
|
|
||||||
|
|
||||||
public class KodWazony
|
public class KodWazony
|
||||||
{
|
{
|
||||||
|
|||||||
@ -1,6 +1,4 @@
|
|||||||
#nullable disable
|
namespace Pcm.Db.Entities;
|
||||||
|
|
||||||
namespace Pcm.Db.Entities;
|
|
||||||
|
|
||||||
public class Komentarz
|
public class Komentarz
|
||||||
{
|
{
|
||||||
|
|||||||
@ -1,6 +1,4 @@
|
|||||||
#nullable disable
|
namespace Pcm.Db.Entities;
|
||||||
|
|
||||||
namespace Pcm.Db.Entities;
|
|
||||||
|
|
||||||
public class Konfig
|
public class Konfig
|
||||||
{
|
{
|
||||||
|
|||||||
@ -1,9 +1,4 @@
|
|||||||
using System;
|
namespace Pcm.Db.Entities;
|
||||||
using System.Collections.Generic;
|
|
||||||
|
|
||||||
#nullable disable
|
|
||||||
|
|
||||||
namespace Pcm.Db.Entities;
|
|
||||||
|
|
||||||
public class KontoBankowe
|
public class KontoBankowe
|
||||||
{
|
{
|
||||||
|
|||||||
@ -1,6 +1,4 @@
|
|||||||
#nullable disable
|
namespace Pcm.Db.Entities;
|
||||||
|
|
||||||
namespace Pcm.Db.Entities;
|
|
||||||
|
|
||||||
public class KontoBankoweKontr
|
public class KontoBankoweKontr
|
||||||
{
|
{
|
||||||
|
|||||||
@ -1,9 +1,4 @@
|
|||||||
using System;
|
namespace Pcm.Db.Entities;
|
||||||
using System.Collections.Generic;
|
|
||||||
|
|
||||||
#nullable disable
|
|
||||||
|
|
||||||
namespace Pcm.Db.Entities;
|
|
||||||
|
|
||||||
public class KontoLoj
|
public class KontoLoj
|
||||||
{
|
{
|
||||||
|
|||||||
@ -1,6 +1,4 @@
|
|||||||
#nullable disable
|
namespace Pcm.Db.Entities;
|
||||||
|
|
||||||
namespace Pcm.Db.Entities;
|
|
||||||
|
|
||||||
public class KontrOpi
|
public class KontrOpi
|
||||||
{
|
{
|
||||||
|
|||||||
@ -1,8 +1,4 @@
|
|||||||
using System;
|
using System.Text.Json.Serialization;
|
||||||
using System.Collections.Generic;
|
|
||||||
using System.Text.Json.Serialization;
|
|
||||||
|
|
||||||
#nullable disable
|
|
||||||
|
|
||||||
namespace Pcm.Db.Entities;
|
namespace Pcm.Db.Entities;
|
||||||
|
|
||||||
|
|||||||
@ -1,8 +1,4 @@
|
|||||||
using System.Collections.Generic;
|
namespace Pcm.Db.Entities;
|
||||||
|
|
||||||
#nullable disable
|
|
||||||
|
|
||||||
namespace Pcm.Db.Entities;
|
|
||||||
|
|
||||||
public class Kraj
|
public class Kraj
|
||||||
{
|
{
|
||||||
|
|||||||
@ -1,6 +1,4 @@
|
|||||||
#nullable disable
|
namespace Pcm.Db.Entities;
|
||||||
|
|
||||||
namespace Pcm.Db.Entities;
|
|
||||||
|
|
||||||
public class KrajStawka
|
public class KrajStawka
|
||||||
{
|
{
|
||||||
|
|||||||
@ -1,8 +1,4 @@
|
|||||||
using System.Collections.Generic;
|
namespace Pcm.Db.Entities;
|
||||||
|
|
||||||
#nullable disable
|
|
||||||
|
|
||||||
namespace Pcm.Db.Entities;
|
|
||||||
|
|
||||||
public class KthParWartosc
|
public class KthParWartosc
|
||||||
{
|
{
|
||||||
|
|||||||
@ -1,8 +1,4 @@
|
|||||||
using System.Collections.Generic;
|
namespace Pcm.Db.Entities;
|
||||||
|
|
||||||
#nullable disable
|
|
||||||
|
|
||||||
namespace Pcm.Db.Entities;
|
|
||||||
|
|
||||||
public class KthParam
|
public class KthParam
|
||||||
{
|
{
|
||||||
|
|||||||
@ -1,6 +1,4 @@
|
|||||||
#nullable disable
|
namespace Pcm.Db.Entities;
|
||||||
|
|
||||||
namespace Pcm.Db.Entities;
|
|
||||||
|
|
||||||
public class KthTypO
|
public class KthTypO
|
||||||
{
|
{
|
||||||
|
|||||||
@ -1,6 +1,4 @@
|
|||||||
#nullable disable
|
namespace Pcm.Db.Entities;
|
||||||
|
|
||||||
namespace Pcm.Db.Entities;
|
|
||||||
|
|
||||||
public class KthWartosc
|
public class KthWartosc
|
||||||
{
|
{
|
||||||
|
|||||||
@ -1,8 +1,4 @@
|
|||||||
using System;
|
namespace Pcm.Db.Entities;
|
||||||
|
|
||||||
#nullable disable
|
|
||||||
|
|
||||||
namespace Pcm.Db.Entities;
|
|
||||||
|
|
||||||
public class KursWaluty
|
public class KursWaluty
|
||||||
{
|
{
|
||||||
|
|||||||
@ -1,8 +1,4 @@
|
|||||||
using System;
|
namespace Pcm.Db.Entities;
|
||||||
|
|
||||||
#nullable disable
|
|
||||||
|
|
||||||
namespace Pcm.Db.Entities;
|
|
||||||
|
|
||||||
public class LiniaLotnicza
|
public class LiniaLotnicza
|
||||||
{
|
{
|
||||||
|
|||||||
@ -1,9 +1,4 @@
|
|||||||
using System;
|
namespace Pcm.Db.Entities;
|
||||||
using System.Collections.Generic;
|
|
||||||
|
|
||||||
#nullable disable
|
|
||||||
|
|
||||||
namespace Pcm.Db.Entities;
|
|
||||||
|
|
||||||
public class LogOperation
|
public class LogOperation
|
||||||
{
|
{
|
||||||
|
|||||||
@ -1,8 +1,4 @@
|
|||||||
using System;
|
namespace Pcm.Db.Entities;
|
||||||
|
|
||||||
#nullable disable
|
|
||||||
|
|
||||||
namespace Pcm.Db.Entities;
|
|
||||||
|
|
||||||
public class LogTypeDef
|
public class LogTypeDef
|
||||||
{
|
{
|
||||||
|
|||||||
@ -1,8 +1,4 @@
|
|||||||
using System;
|
namespace Pcm.Db.Entities;
|
||||||
|
|
||||||
#nullable disable
|
|
||||||
|
|
||||||
namespace Pcm.Db.Entities;
|
|
||||||
|
|
||||||
public class LogValChangeNum
|
public class LogValChangeNum
|
||||||
{
|
{
|
||||||
|
|||||||
@ -1,8 +1,4 @@
|
|||||||
using System;
|
namespace Pcm.Db.Entities;
|
||||||
|
|
||||||
#nullable disable
|
|
||||||
|
|
||||||
namespace Pcm.Db.Entities;
|
|
||||||
|
|
||||||
public class LogValChangeTxt
|
public class LogValChangeTxt
|
||||||
{
|
{
|
||||||
|
|||||||
Some files were not shown because too many files have changed in this diff Show More
Loading…
x
Reference in New Issue
Block a user