From fcdb96834ef7a8a5e84723898893aacc74daafd2 Mon Sep 17 00:00:00 2001 From: Samuele Locatelli Date: Wed, 9 Feb 2022 15:32:12 +0100 Subject: [PATCH] Modifica ticketDTO x recupero app/inst --- Core/DTO/TicketDTO.cs | 3 +++ LiMan.DB/Controllers/DbController.cs | 3 +++ LiMan.Transfer/Resources/ChangeLog.html | 2 +- LiMan.Transfer/Resources/VersNum.txt | 2 +- LiMan.Transfer/Resources/manifest.xml | 2 +- LiMan.UI/Components/Tickets.razor | 8 ++++++++ LiMan.UI/LiMan.UI.csproj | 2 +- LiMan.UI/Resources/ChangeLog.html | 2 +- LiMan.UI/Resources/VersNum.txt | 2 +- LiMan.UI/Resources/manifest.xml | 2 +- 10 files changed, 21 insertions(+), 7 deletions(-) diff --git a/Core/DTO/TicketDTO.cs b/Core/DTO/TicketDTO.cs index 1d70a51..7999d8d 100644 --- a/Core/DTO/TicketDTO.cs +++ b/Core/DTO/TicketDTO.cs @@ -6,6 +6,9 @@ namespace Core.DTO { #region Public Properties + public string CodApp { get; set; } = ""; + public string CodInst { get; set; } = ""; + /// /// Codice univoco della sub licenza (opzionale) /// diff --git a/LiMan.DB/Controllers/DbController.cs b/LiMan.DB/Controllers/DbController.cs index b7f8998..e7fb861 100644 --- a/LiMan.DB/Controllers/DbController.cs +++ b/LiMan.DB/Controllers/DbController.cs @@ -975,9 +975,12 @@ namespace LiMan.DB.Controllers .DbSetTicket .Where(x => (x.Status <= StatoRichiesta.Valutazione || !onlyOpen)) .OrderByDescending(x => x.IdxTicket) + .Include(l => l.LicenzaNav) .Take(maxNum) .Select(x => new TicketDTO { + CodApp = x.LicenzaNav.CodApp, + CodInst = x.LicenzaNav.CodInst, IdxTicket = x.IdxTicket, IdxLic = x.IdxLic, IdxSubLic = x.IdxSubLic, diff --git a/LiMan.Transfer/Resources/ChangeLog.html b/LiMan.Transfer/Resources/ChangeLog.html index ac6d0cf..c9745ca 100644 --- a/LiMan.Transfer/Resources/ChangeLog.html +++ b/LiMan.Transfer/Resources/ChangeLog.html @@ -1,6 +1,6 @@ License Manager -

Versione: 1.1.2202.0912

+

Versione: 1.1.2202.0915


Note di rilascio: