@record.CodArticolo
diff --git a/MP.SPEC/Data/MpDataService.cs b/MP.SPEC/Data/MpDataService.cs
index c0b1514c..ebbec626 100644
--- a/MP.SPEC/Data/MpDataService.cs
+++ b/MP.SPEC/Data/MpDataService.cs
@@ -1,7 +1,5 @@
-using DnsClient.Protocol;
-using EgwCoreLib.Utils;
+using EgwCoreLib.Utils;
using Microsoft.EntityFrameworkCore;
-using Microsoft.Extensions.Options;
using MP.Core.Conf;
using MP.Core.DTO;
using MP.Core.Objects;
@@ -10,13 +8,11 @@ using MP.Data.Controllers;
using MP.Data.DbModels;
using MP.Data.MgModels;
using MP.Data.Services;
-using MP.SPEC.Components.ProdKit;
using Newtonsoft.Json;
using NLog;
using StackExchange.Redis;
using System.Data;
using System.Diagnostics;
-using ZXing;
namespace MP.SPEC.Data
{
@@ -2463,7 +2459,7 @@ namespace MP.SPEC.Data
}
else
{
- result = await Task.FromResult(dbController.ListPODLFilt(lanciato, keyRichPart, idxMacchina, codGruppo, startDate, endDate));
+ result = await dbController.ListPODLFiltAsync(lanciato, keyRichPart, idxMacchina, codGruppo, startDate, endDate);
// serializzo e salvo...
rawData = JsonConvert.SerializeObject(result);
redisDb.StringSet(currKey, rawData, TimeSpan.FromSeconds(redisShortTimeCache));
@@ -2504,7 +2500,7 @@ namespace MP.SPEC.Data
}
else
{
- result = await Task.FromResult(dbController.ListPODL_KitFilt(lanciato, keyRichPart, idxMacchina, codGruppo, startDate, endDate));
+ result = await dbController.ListPODL_KitFiltAsync(lanciato, keyRichPart, idxMacchina, codGruppo, startDate, endDate);
// serializzo e salvo...
rawData = JsonConvert.SerializeObject(result);
redisDb.StringSet(currKey, rawData, TimeSpan.FromSeconds(redisShortTimeCache));
diff --git a/MP.SPEC/MP.SPEC.csproj b/MP.SPEC/MP.SPEC.csproj
index 72831ad8..9deac4d1 100644
--- a/MP.SPEC/MP.SPEC.csproj
+++ b/MP.SPEC/MP.SPEC.csproj
@@ -5,7 +5,7 @@
enable
enable
MP.SPEC
-
8.16.2604.2718
+
8.16.2605.2517
1800a78a-6ff1-40f9-b490-87fb8bfc1394
en
diff --git a/MP.SPEC/Pages/Articoli.razor b/MP.SPEC/Pages/Articoli.razor
index 2130edd8..a2a3c7e7 100644
--- a/MP.SPEC/Pages/Articoli.razor
+++ b/MP.SPEC/Pages/Articoli.razor
@@ -150,7 +150,7 @@
@foreach (var record in ListRecords)
{
-
+
diff --git a/MP.SPEC/Pages/Articoli.razor.cs b/MP.SPEC/Pages/Articoli.razor.cs
index 754d6211..e3b23914 100644
--- a/MP.SPEC/Pages/Articoli.razor.cs
+++ b/MP.SPEC/Pages/Articoli.razor.cs
@@ -9,19 +9,11 @@ namespace MP.SPEC.Pages
{
#region Public Methods
- public string checkSelect(string CodArticolo)
+ public string CheckSelect(string codArticolo)
{
- string answ = "";
- if (currRecord != null)
- {
- try
- {
- answ = (currRecord.CodArticolo == CodArticolo) ? "table-info" : "";
- }
- catch
- { }
- }
- return answ;
+ return currRecord?.CodArticolo == codArticolo
+ ? "table-info"
+ : "";
}
private SelectArticoliParams currFilter = new SelectArticoliParams();
diff --git a/MP.SPEC/Resources/ChangeLog.html b/MP.SPEC/Resources/ChangeLog.html
index 133a7fea..9388728b 100644
--- a/MP.SPEC/Resources/ChangeLog.html
+++ b/MP.SPEC/Resources/ChangeLog.html
@@ -1,6 +1,6 @@
Modulo MAPOSPEC
- Versione: 8.16.2604.2718
+ Versione: 8.16.2605.2517
Note di rilascio:
-
diff --git a/MP.SPEC/Resources/VersNum.txt b/MP.SPEC/Resources/VersNum.txt
index 87ec763e..45a6b113 100644
--- a/MP.SPEC/Resources/VersNum.txt
+++ b/MP.SPEC/Resources/VersNum.txt
@@ -1 +1 @@
-8.16.2604.2718
+8.16.2605.2517
diff --git a/MP.SPEC/Resources/manifest.xml b/MP.SPEC/Resources/manifest.xml
index 6abb2dad..73dad968 100644
--- a/MP.SPEC/Resources/manifest.xml
+++ b/MP.SPEC/Resources/manifest.xml
@@ -1,6 +1,6 @@
-
- 8.16.2604.2718
+ 8.16.2605.2517
https://nexus.steamware.net/repository/SWS/MP-SPEC/stable/LAST/MP.SPEC.zip
https://nexus.steamware.net/repository/SWS/MP-SPEC/stable/LAST/ChangeLog.html
false
|