diff --git a/MP-TAB3/MP-TAB3.csproj b/MP-TAB3/MP-TAB3.csproj
index 51e63f88..b79bd3a4 100644
--- a/MP-TAB3/MP-TAB3.csproj
+++ b/MP-TAB3/MP-TAB3.csproj
@@ -3,7 +3,7 @@
net8.0
enable
- 8.16.2606.118
+ 8.16.2606.119
enable
MP_TAB3
diff --git a/MP-TAB3/Resources/ChangeLog.html b/MP-TAB3/Resources/ChangeLog.html
index 093f0774..7e42922e 100644
--- a/MP-TAB3/Resources/ChangeLog.html
+++ b/MP-TAB3/Resources/ChangeLog.html
@@ -1,6 +1,6 @@
Modulo MAPOSPEC
- Versione: 8.16.2606.118
+ Versione: 8.16.2606.119
Note di rilascio:
-
diff --git a/MP-TAB3/Resources/VersNum.txt b/MP-TAB3/Resources/VersNum.txt
index 515eeea2..28d1df86 100644
--- a/MP-TAB3/Resources/VersNum.txt
+++ b/MP-TAB3/Resources/VersNum.txt
@@ -1 +1 @@
-8.16.2606.118
+8.16.2606.119
diff --git a/MP-TAB3/Resources/manifest.xml b/MP-TAB3/Resources/manifest.xml
index 17e88865..d464ba46 100644
--- a/MP-TAB3/Resources/manifest.xml
+++ b/MP-TAB3/Resources/manifest.xml
@@ -1,6 +1,6 @@
-
- 8.16.2606.118
+ 8.16.2606.119
https://nexus.steamware.net/repository/SWS/MP-TAB3/stable/LAST/MP-TAB3.zip
https://nexus.steamware.net/repository/SWS/MP-TAB3/stable/LAST/ChangeLog.html
false
diff --git a/MP.Data/Controllers/MpSpecRepository.cs b/MP.Data/Controllers/MpSpecRepository.cs
index 887fbd5e..224fb848 100644
--- a/MP.Data/Controllers/MpSpecRepository.cs
+++ b/MP.Data/Controllers/MpSpecRepository.cs
@@ -233,7 +233,6 @@ namespace MP.Data.Controllers
return numRes != 0;
}
-#endif
///
/// Elenco valori ammessi x Stati commessa (es Yacht Baglietto)
@@ -253,6 +252,7 @@ namespace MP.Data.Controllers
return ListValuesFiltAsync("AnagArticoli", "Tipo");
}
+#endif
///
/// Elenco codice articoli che abbiano dati Dossier
///
@@ -268,6 +268,7 @@ namespace MP.Data.Controllers
.ToListAsync();
}
+#if false
///
/// Conteggio num articoli Async
///
@@ -279,7 +280,7 @@ namespace MP.Data.Controllers
.DbSetArticoli
.CountAsync();
return result;
- }
+ }
///
/// Conteggio articoli data condizione ricerca
@@ -372,7 +373,6 @@ namespace MP.Data.Controllers
.ToListAsync();
}
-#if false
///
/// Elenco tabella Articoli da filtro
///
@@ -414,7 +414,6 @@ namespace MP.Data.Controllers
.Take(numRecord)
.ToListAsync();
}
-#endif
///
/// Elenco tabella Articoli NON IMPIEGATI (da stored stp_ART_getUsed) Async
@@ -488,6 +487,7 @@ namespace MP.Data.Controllers
}
return await dbCtx.SaveChangesAsync() > 0;
}
+#endif
///
/// Elenco da tabella Config Async
diff --git a/MP.Data/Repository/Anag/AnagRepository.cs b/MP.Data/Repository/Anag/AnagRepository.cs
index 568a04d6..3fbfce71 100644
--- a/MP.Data/Repository/Anag/AnagRepository.cs
+++ b/MP.Data/Repository/Anag/AnagRepository.cs
@@ -50,6 +50,7 @@ namespace MP.Data.Repository.Anag
}
else
{
+ // se si volessero impiegare parametri OUTPUT (qui ne mancherebbe 1 nella stored x CntCode...)
var pCntType = new SqlParameter("@CntType", cntType);
var pLastNum = new SqlParameter
{
diff --git a/MP.Data/Repository/Anag/IAnagRepository.cs b/MP.Data/Repository/Anag/IAnagRepository.cs
index 695c1c7f..953fdd32 100644
--- a/MP.Data/Repository/Anag/IAnagRepository.cs
+++ b/MP.Data/Repository/Anag/IAnagRepository.cs
@@ -130,11 +130,17 @@ namespace MP.Data.Repository.Anag
Task
> ArticoliGetSearchAsync(int numRecord, string tipoArt = "*", string azienda = "*", string searchVal = "");
///
- /// Elenco tabella Articoli NON IMPIEGATI (da stored stp_ART_getUsed) Async
+ /// Elenco tabella Articoli NON IMPIEGATI (da stored stp_ART_getNotUsed) Async
///
/// Lista di articoli non impiegati
Task> ArticoliGetUnusedAsync();
+ ///
+ /// Elenco tabella Articoli IMPIEGATI (da stored stp_ART_getUsed) Async
+ ///
+ /// Lista di articoli non impiegati
+ Task> ArticoliGetUsedAsync();
+
///
/// Dizionario associazione ODL/PODL
///
diff --git a/MP.INVE/MP.INVE.csproj b/MP.INVE/MP.INVE.csproj
index 4998857b..13723817 100644
--- a/MP.INVE/MP.INVE.csproj
+++ b/MP.INVE/MP.INVE.csproj
@@ -5,7 +5,7 @@
enable
enable
MP.INVE
- 8.16.2606.118
+ 8.16.2606.119
diff --git a/MP.INVE/Resources/ChangeLog.html b/MP.INVE/Resources/ChangeLog.html
index 937bfdaf..805e9ef3 100644
--- a/MP.INVE/Resources/ChangeLog.html
+++ b/MP.INVE/Resources/ChangeLog.html
@@ -1,6 +1,6 @@
Modulo MAPOINVE
- Versione: 8.16.2606.118
+ Versione: 8.16.2606.119
Note di rilascio:
-
diff --git a/MP.INVE/Resources/VersNum.txt b/MP.INVE/Resources/VersNum.txt
index 515eeea2..28d1df86 100644
--- a/MP.INVE/Resources/VersNum.txt
+++ b/MP.INVE/Resources/VersNum.txt
@@ -1 +1 @@
-8.16.2606.118
+8.16.2606.119
diff --git a/MP.INVE/Resources/manifest.xml b/MP.INVE/Resources/manifest.xml
index 84d88c29..635c7a5f 100644
--- a/MP.INVE/Resources/manifest.xml
+++ b/MP.INVE/Resources/manifest.xml
@@ -1,6 +1,6 @@
-
- 8.16.2606.118
+ 8.16.2606.119
https://nexus.steamware.net/repository/SWS/MP-INVE/stable/LAST/MP.INVE.zip
https://nexus.steamware.net/repository/SWS/MP-INVE/stable/LAST/ChangeLog.html
false
diff --git a/MP.IOC/MP.IOC.csproj b/MP.IOC/MP.IOC.csproj
index 727fa0fb..56eeddca 100644
--- a/MP.IOC/MP.IOC.csproj
+++ b/MP.IOC/MP.IOC.csproj
@@ -4,7 +4,7 @@
net8.0
enable
enable
- 8.16.2606.118
+ 8.16.2606.119
diff --git a/MP.IOC/Resources/ChangeLog.html b/MP.IOC/Resources/ChangeLog.html
index 9e4106d9..03c738b7 100644
--- a/MP.IOC/Resources/ChangeLog.html
+++ b/MP.IOC/Resources/ChangeLog.html
@@ -1,6 +1,6 @@
Modulo MP-IOC
-
Versione: 8.16.2606.118
+ Versione: 8.16.2606.119
Note di rilascio:
-
diff --git a/MP.IOC/Resources/VersNum.txt b/MP.IOC/Resources/VersNum.txt
index 515eeea2..28d1df86 100644
--- a/MP.IOC/Resources/VersNum.txt
+++ b/MP.IOC/Resources/VersNum.txt
@@ -1 +1 @@
-8.16.2606.118
+8.16.2606.119
diff --git a/MP.IOC/Resources/manifest.xml b/MP.IOC/Resources/manifest.xml
index 1c26c859..d3e771b6 100644
--- a/MP.IOC/Resources/manifest.xml
+++ b/MP.IOC/Resources/manifest.xml
@@ -1,6 +1,6 @@
-
- 8.16.2606.118
+ 8.16.2606.119
https://nexus.steamware.net/repository/SWS/MP-IOC/stable/LAST/MP.IOC.zip
https://nexus.steamware.net/repository/SWS/MP-IOC/stable/LAST/ChangeLog.html
false
diff --git a/MP.Land/MP.Land.csproj b/MP.Land/MP.Land.csproj
index 509dc1ba..2d7b8b5e 100644
--- a/MP.Land/MP.Land.csproj
+++ b/MP.Land/MP.Land.csproj
@@ -3,7 +3,7 @@
net8.0
MP.Land
- 8.16.2606.0118
+ 8.16.2606.0119
Debug;Release;Debug_LiManDebug
en
True
diff --git a/MP.Land/Resources/ChangeLog.html b/MP.Land/Resources/ChangeLog.html
index 0dc5539b..17946008 100644
--- a/MP.Land/Resources/ChangeLog.html
+++ b/MP.Land/Resources/ChangeLog.html
@@ -1,6 +1,6 @@
Modulo Tablet MAPO - DotNet6
-
Versione: 8.16.2606.0118
+ Versione: 8.16.2606.0119
Note di rilascio:
diff --git a/MP.Land/Resources/VersNum.txt b/MP.Land/Resources/VersNum.txt
index 9a5e6157..8bc36859 100644
--- a/MP.Land/Resources/VersNum.txt
+++ b/MP.Land/Resources/VersNum.txt
@@ -1 +1 @@
-8.16.2606.0118
+8.16.2606.0119
diff --git a/MP.Land/Resources/manifest.xml b/MP.Land/Resources/manifest.xml
index 02892851..5a0155ac 100644
--- a/MP.Land/Resources/manifest.xml
+++ b/MP.Land/Resources/manifest.xml
@@ -1,6 +1,6 @@
-
- 8.16.2606.0118
+ 8.16.2606.0119
https://nexus.steamware.net/repository/SWS/MP-LAND/stable/LAST/MP.Land.zip
https://nexus.steamware.net/repository/SWS/MP-LAND/stable/LAST/ChangeLog.html
false
diff --git a/MP.MON/MP.MON.csproj b/MP.MON/MP.MON.csproj
index a22e68ad..2a883698 100644
--- a/MP.MON/MP.MON.csproj
+++ b/MP.MON/MP.MON.csproj
@@ -6,7 +6,7 @@
enable
MP.MON
$(AssemblyName.Replace(' ', '_'))
- 8.16.2606.118
+ 8.16.2606.119
diff --git a/MP.MON/Resources/ChangeLog.html b/MP.MON/Resources/ChangeLog.html
index 093f0774..7e42922e 100644
--- a/MP.MON/Resources/ChangeLog.html
+++ b/MP.MON/Resources/ChangeLog.html
@@ -1,6 +1,6 @@
Modulo MAPOSPEC
- Versione: 8.16.2606.118
+ Versione: 8.16.2606.119
Note di rilascio:
-
diff --git a/MP.MON/Resources/VersNum.txt b/MP.MON/Resources/VersNum.txt
index 515eeea2..28d1df86 100644
--- a/MP.MON/Resources/VersNum.txt
+++ b/MP.MON/Resources/VersNum.txt
@@ -1 +1 @@
-8.16.2606.118
+8.16.2606.119
diff --git a/MP.MON/Resources/manifest.xml b/MP.MON/Resources/manifest.xml
index 9b559a4d..ebd7fc6e 100644
--- a/MP.MON/Resources/manifest.xml
+++ b/MP.MON/Resources/manifest.xml
@@ -1,6 +1,6 @@
-
- 8.16.2606.118
+ 8.16.2606.119
https://nexus.steamware.net/repository/SWS/MP-MON/stable/LAST/MP.MON.zip
https://nexus.steamware.net/repository/SWS/MP-MON/stable/LAST/ChangeLog.html
false
diff --git a/MP.Prog/MP.Prog.csproj b/MP.Prog/MP.Prog.csproj
index 9bed72f0..e1e72fa3 100644
--- a/MP.Prog/MP.Prog.csproj
+++ b/MP.Prog/MP.Prog.csproj
@@ -3,7 +3,7 @@
net8.0
MP.Prog
- 8.16.2606.0118
+ 8.16.2606.0119
True
diff --git a/MP.Prog/Resources/ChangeLog.html b/MP.Prog/Resources/ChangeLog.html
index cbb1a653..c430a648 100644
--- a/MP.Prog/Resources/ChangeLog.html
+++ b/MP.Prog/Resources/ChangeLog.html
@@ -1,6 +1,6 @@
Modulo gestione Programmi MAPO
-
Versione: 8.16.2606.0118
+ Versione: 8.16.2606.0119
Note di rilascio:
diff --git a/MP.Prog/Resources/VersNum.txt b/MP.Prog/Resources/VersNum.txt
index 9a5e6157..8bc36859 100644
--- a/MP.Prog/Resources/VersNum.txt
+++ b/MP.Prog/Resources/VersNum.txt
@@ -1 +1 @@
-8.16.2606.0118
+8.16.2606.0119
diff --git a/MP.Prog/Resources/manifest.xml b/MP.Prog/Resources/manifest.xml
index 4b843e6e..b57cd977 100644
--- a/MP.Prog/Resources/manifest.xml
+++ b/MP.Prog/Resources/manifest.xml
@@ -1,6 +1,6 @@
-
- 8.16.2606.0118
+ 8.16.2606.0119
https://nexus.steamware.net/repository/SWS/MP-PROG/stable/LAST/MP.Prog.zip
https://nexus.steamware.net/repository/SWS/MP-PROG/stable/LAST/ChangeLog.html
false
diff --git a/MP.RIOC/MP.RIOC.csproj b/MP.RIOC/MP.RIOC.csproj
index f32af328..a159eed4 100644
--- a/MP.RIOC/MP.RIOC.csproj
+++ b/MP.RIOC/MP.RIOC.csproj
@@ -5,7 +5,7 @@
enable
enable
MP.RIOC
- 8.16.2606.118
+ 8.16.2606.119
diff --git a/MP.RIOC/Resources/ChangeLog.html b/MP.RIOC/Resources/ChangeLog.html
index f9feea47..c1503a5c 100644
--- a/MP.RIOC/Resources/ChangeLog.html
+++ b/MP.RIOC/Resources/ChangeLog.html
@@ -1,6 +1,6 @@
Modulo MP-RIOC
-
Versione: 8.16.2606.118
+ Versione: 8.16.2606.119
Note di rilascio:
-
diff --git a/MP.RIOC/Resources/VersNum.txt b/MP.RIOC/Resources/VersNum.txt
index 515eeea2..28d1df86 100644
--- a/MP.RIOC/Resources/VersNum.txt
+++ b/MP.RIOC/Resources/VersNum.txt
@@ -1 +1 @@
-8.16.2606.118
+8.16.2606.119
diff --git a/MP.RIOC/Resources/manifest.xml b/MP.RIOC/Resources/manifest.xml
index c9f0e54b..8ddc1c1b 100644
--- a/MP.RIOC/Resources/manifest.xml
+++ b/MP.RIOC/Resources/manifest.xml
@@ -1,6 +1,6 @@
-
- 8.16.2606.118
+ 8.16.2606.119
https://nexus.steamware.net/repository/SWS/MP-RIOC/stable/LAST/MP.RIOC.zip
https://nexus.steamware.net/repository/SWS/MP-RIOC/stable/LAST/ChangeLog.html
false
diff --git a/MP.SPEC/Data/MpDataService.cs b/MP.SPEC/Data/MpDataService.cs
index 2ffbf91e..e000ad5a 100644
--- a/MP.SPEC/Data/MpDataService.cs
+++ b/MP.SPEC/Data/MpDataService.cs
@@ -226,7 +226,7 @@ namespace MP.SPEC.Data
cacheKey: Utils.redisStatoCom,
expiration: GetRandTOut(redisLongTimeCache),
fetchFunc: async () =>
- await dbController.AnagStatiCommAsync() ?? new List(),
+ await _anagRepository.AnagStatiCommAsync() ?? new List(),
tagList: [Utils.redisStatoCom]
);
}
@@ -241,7 +241,7 @@ namespace MP.SPEC.Data
operationName: "AnagTipoArtLvAsync",
cacheKey: Utils.redisTipoArt,
expiration: GetRandTOut(redisLongTimeCache),
- fetchFunc: async () => await dbController.AnagTipoArtLvAsync() ?? new List(),
+ fetchFunc: async () => await _anagRepository.AnagTipoArtLvAsync() ?? new List(),
tagList: [Utils.redisTipoArt]
);
}
@@ -277,7 +277,7 @@ namespace MP.SPEC.Data
cacheKey: redisKey,
expiration: GetRandTOut(redisLongTimeCache),
fetchFunc: async () =>
- await dbController.ArticoliCountSearchAsync(tipo, azienda, searchVal),
+ await _anagRepository.ArticoliCountSearchAsync(tipo, azienda, searchVal),
tagList: [Utils.redisArtList, $"{Utils.redisArtList}:CountSearch"]
);
}
@@ -291,7 +291,7 @@ namespace MP.SPEC.Data
{
using var activity = ActivitySource.StartActivity("ArticoliDeleteRecordAsync");
string source = "DB";
- bool fatto = await dbController.ArticoliDeleteRecordAsync(currRec);
+ bool fatto = await _anagRepository.ArticoliDeleteRecordAsync(currRec);
await FlushFusionCacheArticoli();
activity?.SetTag("data.source", source);
activity?.Stop();
@@ -314,7 +314,7 @@ namespace MP.SPEC.Data
cacheKey: redisKey,
expiration: GetRandTOut(redisLongTimeCache),
fetchFunc: async () =>
- await dbController.ArticoliGetByTipoAsync(tipo, azienda) ?? new List(),
+ await _anagRepository.ArticoliGetByTipoAsync(tipo, azienda) ?? new List(),
tagList: [Utils.redisArtList, $"{Utils.redisArtList}:Tipo"]
);
}
@@ -336,7 +336,6 @@ namespace MP.SPEC.Data
expiration: GetRandTOut(redisLongTimeCache),
fetchFunc: async () =>
await _anagRepository.ArticoliGetSearchAsync(numRecord, tipoArt, azienda, searchVal) ?? new List(),
- //await dbController.ArticoliGetSearchAsync(numRecord, tipoArt, azienda, searchVal) ?? new List(),
tagList: [Utils.redisArtList, $"{Utils.redisArtList}:Search"]
);
}
@@ -353,7 +352,7 @@ namespace MP.SPEC.Data
cacheKey: redisKey,
expiration: GetRandTOut(redisLongTimeCache),
fetchFunc: async () =>
- await dbController.ArticoliInKitAsync() ?? new List(),
+ await _anagRepository.ArticoliInKitAsync() ?? new List(),
tagList: [Utils.redisArtList, $"{Utils.redisArtList}:InKit"]
);
}
@@ -367,7 +366,7 @@ namespace MP.SPEC.Data
{
using var activity = ActivitySource.StartActivity("ArticoliUpdateRecord");
string source = "DB";
- bool fatto = await dbController.ArticoliUpdateRecord(currRec);
+ bool fatto = await _anagRepository.ArticoliUpdateRecord(currRec);
await FlushFusionCacheArticoli();
activity?.SetTag("data.source", source);
activity?.Stop();
@@ -709,23 +708,23 @@ namespace MP.SPEC.Data
try
{
// verifico quale sia il set + piccolo
- int totalCount = await dbController.ArticoliCountAsync();
- int usedCount = await dbController.ArticoliCountUsedAsync();
+ int totalCount = await _anagRepository.ArticoliCountAsync();
+ int usedCount = await _anagRepository.ArticoliCountUsedAsync();
if (usedCount <= (totalCount - usedCount))
{
- var usedList = await dbController.ArticoliGetUsedAsync();
+ var usedList = await _anagRepository.ArticoliGetUsedAsync();
_listCodArtUsed = new HashSet(usedList.Select(x => x.CodArticolo));
_listCodArtNotUsed.Clear();
}
else
{
- var unusedList = await dbController.ArticoliGetUnusedAsync();
+ var unusedList = await _anagRepository.ArticoliGetUnusedAsync();
_listCodArtNotUsed = new HashSet(unusedList.Select(x => x.CodArticolo));
_listCodArtUsed.Clear();
}
// calcolo anche elenco articoli impiegati in istanzanKIT
- var listInKit = await dbController.ArticoliInKitAsync();
+ var listInKit = await _anagRepository.ArticoliInKitAsync();
_listCodArtInKit = new HashSet(listInKit.Select(x => x.CodArticolo));
_artCacheExpiry = DateTime.Now.AddMinutes(15); // TTL ragionevole per la cache locale
diff --git a/MP.Stats/MP.Stats.csproj b/MP.Stats/MP.Stats.csproj
index 76f7002a..1ff2dc91 100644
--- a/MP.Stats/MP.Stats.csproj
+++ b/MP.Stats/MP.Stats.csproj
@@ -4,7 +4,7 @@
net8.0
MP.Stats
826e877c-ba70-4253-84cb-d0b1cafd4440
- 8.16.2606.0118
+ 8.16.2606.0119
true
en
diff --git a/MP.Stats/Resources/ChangeLog.html b/MP.Stats/Resources/ChangeLog.html
index c66d2a01..16ce0ff0 100644
--- a/MP.Stats/Resources/ChangeLog.html
+++ b/MP.Stats/Resources/ChangeLog.html
@@ -1,6 +1,6 @@
Modulo statistiche MAPO
-
Versione: 8.16.2606.0118
+ Versione: 8.16.2606.0119
Note di rilascio:
diff --git a/MP.Stats/Resources/VersNum.txt b/MP.Stats/Resources/VersNum.txt
index 9a5e6157..8bc36859 100644
--- a/MP.Stats/Resources/VersNum.txt
+++ b/MP.Stats/Resources/VersNum.txt
@@ -1 +1 @@
-8.16.2606.0118
+8.16.2606.0119
diff --git a/MP.Stats/Resources/manifest.xml b/MP.Stats/Resources/manifest.xml
index b4601710..d9cde985 100644
--- a/MP.Stats/Resources/manifest.xml
+++ b/MP.Stats/Resources/manifest.xml
@@ -1,6 +1,6 @@
-
- 8.16.2606.0118
+ 8.16.2606.0119
https://nexus.steamware.net/repository/SWS/MP-STATS/stable/LAST/MP.Stats.zip
https://nexus.steamware.net/repository/SWS/MP-STATS/stable/LAST/ChangeLog.html
false