From 2666aaa808ad065a85e99cc93e4f7a20ce20f6a4 Mon Sep 17 00:00:00 2001 From: Samuele Locatelli Date: Mon, 27 Apr 2026 15:28:01 +0200 Subject: [PATCH] - fix anag articoli x SPEC (Kit e ART) - update nuget vari --- MP-TAB3/MP-TAB3.csproj | 16 ++++++++-------- MP-TAB3/Resources/ChangeLog.html | 2 +- MP-TAB3/Resources/VersNum.txt | 2 +- MP-TAB3/Resources/manifest.xml | 2 +- MP.AppAuth/MP.AppAuth.csproj | 2 +- MP.Data/Controllers/MpSpecController.cs | 4 +++- MP.Data/MP.Data.csproj | 4 ++-- MP.Data/MoonProContext.cs | 4 ++++ MP.IOC/MP.IOC.csproj | 4 ++-- MP.IOC/Resources/ChangeLog.html | 2 +- MP.IOC/Resources/VersNum.txt | 2 +- MP.IOC/Resources/manifest.xml | 2 +- MP.SPEC/MP.SPEC.csproj | 12 ++++++------ MP.SPEC/Pages/Articoli.razor | 3 +-- MP.SPEC/Resources/ChangeLog.html | 2 +- MP.SPEC/Resources/VersNum.txt | 2 +- MP.SPEC/Resources/manifest.xml | 2 +- MP.Stats/MP.Stats.csproj | 2 +- MP.TaskMan/MP.TaskMan.csproj | 6 +++--- 19 files changed, 40 insertions(+), 35 deletions(-) diff --git a/MP-TAB3/MP-TAB3.csproj b/MP-TAB3/MP-TAB3.csproj index c3394505..aaedaa3d 100644 --- a/MP-TAB3/MP-TAB3.csproj +++ b/MP-TAB3/MP-TAB3.csproj @@ -1,9 +1,9 @@ - + net8.0 enable - 6.16.2604.2016 + 6.16.2604.2715 enable MP_TAB3 @@ -40,14 +40,14 @@ - + - - - - - + + + + + diff --git a/MP-TAB3/Resources/ChangeLog.html b/MP-TAB3/Resources/ChangeLog.html index 0ff249d2..9985799e 100644 --- a/MP-TAB3/Resources/ChangeLog.html +++ b/MP-TAB3/Resources/ChangeLog.html @@ -1,6 +1,6 @@ Modulo MAPOSPEC -

Versione: 6.16.2604.2016

+

Versione: 6.16.2604.2715


Note di rilascio:
  • diff --git a/MP-TAB3/Resources/VersNum.txt b/MP-TAB3/Resources/VersNum.txt index c7011c5d..b53e4a5d 100644 --- a/MP-TAB3/Resources/VersNum.txt +++ b/MP-TAB3/Resources/VersNum.txt @@ -1 +1 @@ -6.16.2604.2016 +6.16.2604.2715 diff --git a/MP-TAB3/Resources/manifest.xml b/MP-TAB3/Resources/manifest.xml index ee301e79..6af28c39 100644 --- a/MP-TAB3/Resources/manifest.xml +++ b/MP-TAB3/Resources/manifest.xml @@ -1,6 +1,6 @@ - 6.16.2604.2016 + 6.16.2604.2715 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.AppAuth/MP.AppAuth.csproj b/MP.AppAuth/MP.AppAuth.csproj index 305668b0..44bd0516 100644 --- a/MP.AppAuth/MP.AppAuth.csproj +++ b/MP.AppAuth/MP.AppAuth.csproj @@ -19,7 +19,7 @@ - + diff --git a/MP.Data/Controllers/MpSpecController.cs b/MP.Data/Controllers/MpSpecController.cs index c8fa8412..99470205 100644 --- a/MP.Data/Controllers/MpSpecController.cs +++ b/MP.Data/Controllers/MpSpecController.cs @@ -2319,7 +2319,9 @@ namespace MP.Data.Controllers Tipo = "KIT", DescArticolo = $"Articolo KIT - {DateTime.Now:yyyy-MM-dd HH:mm:ss}", Disegno = "", - Azienda = codAzienda + Azienda = codAzienda, + CurrRev = "", + ProdRev = "" }; dbCtx .DbSetArticoli diff --git a/MP.Data/MP.Data.csproj b/MP.Data/MP.Data.csproj index 3c9a90c7..0315c040 100644 --- a/MP.Data/MP.Data.csproj +++ b/MP.Data/MP.Data.csproj @@ -30,7 +30,7 @@ - + @@ -44,7 +44,7 @@ - + diff --git a/MP.Data/MoonProContext.cs b/MP.Data/MoonProContext.cs index 70fb8f40..7c0d4658 100644 --- a/MP.Data/MoonProContext.cs +++ b/MP.Data/MoonProContext.cs @@ -196,6 +196,10 @@ namespace MP.Data entity.Property(e => e.Azienda) .IsRequired() .HasMaxLength(50); + + // indica la colonna come calcoalta + entity.Property(e => e.FlagIsNew) + .HasComputedColumnSql("(CASE WHEN [CurrRev]=[ProdRev] THEN CONVERT([bit],(0),(0)) ELSE CONVERT([bit],(1),(0)) END)"); }); modelBuilder.Entity(entity => diff --git a/MP.IOC/MP.IOC.csproj b/MP.IOC/MP.IOC.csproj index dcf863ec..014fe210 100644 --- a/MP.IOC/MP.IOC.csproj +++ b/MP.IOC/MP.IOC.csproj @@ -4,7 +4,7 @@ net8.0 enable enable - 6.16.2604.2714 + 6.16.2604.2715 @@ -31,7 +31,7 @@ - + diff --git a/MP.IOC/Resources/ChangeLog.html b/MP.IOC/Resources/ChangeLog.html index e374d315..686c7567 100644 --- a/MP.IOC/Resources/ChangeLog.html +++ b/MP.IOC/Resources/ChangeLog.html @@ -1,6 +1,6 @@ Modulo MP-IOC -

    Versione: 6.16.2604.2714

    +

    Versione: 6.16.2604.2715


    Note di rilascio:
    • diff --git a/MP.IOC/Resources/VersNum.txt b/MP.IOC/Resources/VersNum.txt index 376ba778..b53e4a5d 100644 --- a/MP.IOC/Resources/VersNum.txt +++ b/MP.IOC/Resources/VersNum.txt @@ -1 +1 @@ -6.16.2604.2714 +6.16.2604.2715 diff --git a/MP.IOC/Resources/manifest.xml b/MP.IOC/Resources/manifest.xml index e0934824..b2d0d815 100644 --- a/MP.IOC/Resources/manifest.xml +++ b/MP.IOC/Resources/manifest.xml @@ -1,6 +1,6 @@ - 6.16.2604.2714 + 6.16.2604.2715 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.SPEC/MP.SPEC.csproj b/MP.SPEC/MP.SPEC.csproj index 270b6b9c..6cd46869 100644 --- a/MP.SPEC/MP.SPEC.csproj +++ b/MP.SPEC/MP.SPEC.csproj @@ -5,7 +5,7 @@ enable enable MP.SPEC - 6.16.2604.2711 + 6.16.2604.2715 1800a78a-6ff1-40f9-b490-87fb8bfc1394 en @@ -45,11 +45,11 @@ - - - - - + + + + + diff --git a/MP.SPEC/Pages/Articoli.razor b/MP.SPEC/Pages/Articoli.razor index 1949a154..1229a320 100644 --- a/MP.SPEC/Pages/Articoli.razor +++ b/MP.SPEC/Pages/Articoli.razor @@ -38,10 +38,9 @@ {
      -
      +
      Modifica
      -
      diff --git a/MP.SPEC/Resources/ChangeLog.html b/MP.SPEC/Resources/ChangeLog.html index 18a6d874..9985799e 100644 --- a/MP.SPEC/Resources/ChangeLog.html +++ b/MP.SPEC/Resources/ChangeLog.html @@ -1,6 +1,6 @@ Modulo MAPOSPEC -

      Versione: 6.16.2604.2711

      +

      Versione: 6.16.2604.2715


      Note di rilascio:
      • diff --git a/MP.SPEC/Resources/VersNum.txt b/MP.SPEC/Resources/VersNum.txt index d86bbbf2..b53e4a5d 100644 --- a/MP.SPEC/Resources/VersNum.txt +++ b/MP.SPEC/Resources/VersNum.txt @@ -1 +1 @@ -6.16.2604.2711 +6.16.2604.2715 diff --git a/MP.SPEC/Resources/manifest.xml b/MP.SPEC/Resources/manifest.xml index 188ddce1..148706ae 100644 --- a/MP.SPEC/Resources/manifest.xml +++ b/MP.SPEC/Resources/manifest.xml @@ -1,6 +1,6 @@ - 6.16.2604.2711 + 6.16.2604.2715 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 diff --git a/MP.Stats/MP.Stats.csproj b/MP.Stats/MP.Stats.csproj index c3871336..1fc4f6a0 100644 --- a/MP.Stats/MP.Stats.csproj +++ b/MP.Stats/MP.Stats.csproj @@ -197,7 +197,7 @@ - + diff --git a/MP.TaskMan/MP.TaskMan.csproj b/MP.TaskMan/MP.TaskMan.csproj index de55e02d..aaf5e81e 100644 --- a/MP.TaskMan/MP.TaskMan.csproj +++ b/MP.TaskMan/MP.TaskMan.csproj @@ -12,8 +12,8 @@ - - + + @@ -24,7 +24,7 @@ - +