Modifica logica scadenza produzione ed ODL

This commit is contained in:
Samuele Locatelli
2026-06-12 09:58:24 +02:00
parent 56392e0dcf
commit 6c400332ff
5 changed files with 8 additions and 7 deletions
+4 -3
View File
@@ -99,7 +99,7 @@ namespace MP.Data.Services.IOC
{
return await GetCurrOdlByProdAsync(idxMacchina);
},
expiration: GetRandTOut(redisShortTimeCache),
expiration: GetRandTOut(redisLongTimeCache),
tagList: ["IOC_CurrOdl", cKey, idxMacchina]
);
@@ -292,7 +292,8 @@ namespace MP.Data.Services.IOC
answ = currCount.ToString();
// salvo per meno tempo...
await _redisDb.StringSetAsync(currKey, answ);
await ClearFusionCache(idxMacchina);
await ClearFusionCache("IOC_CurrOdl");
//await ClearFusionCache(idxMacchina);
}
}
}
@@ -1103,7 +1104,7 @@ namespace MP.Data.Services.IOC
#endif
return await _repo.StatoProdMacchinaAsync(idxMacchina, dtReq);
},
expiration: GetRandTOut(redisShortTimeCache),
expiration: GetRandTOut(redisLongTimeCache),
tagList: ["IOC_StatoProd", cKey, idxMacchina]
);
}
+1 -1
View File
@@ -4,7 +4,7 @@
<TargetFramework>net8.0</TargetFramework>
<Nullable>enable</Nullable>
<ImplicitUsings>enable</ImplicitUsings>
<Version>8.16.2606.1208</Version>
<Version>8.16.2606.1209</Version>
</PropertyGroup>
<ItemGroup>
+1 -1
View File
@@ -1,6 +1,6 @@
<body>
<i>Modulo MP-IOC </i>
<h4>Versione: 8.16.2606.1208</h4>
<h4>Versione: 8.16.2606.1209</h4>
<br /> Note di rilascio:
<ul>
<li>
+1 -1
View File
@@ -1 +1 @@
8.16.2606.1208
8.16.2606.1209
+1 -1
View File
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<item>
<version>8.16.2606.1208</version>
<version>8.16.2606.1209</version>
<url>https://nexus.steamware.net/repository/SWS/MP-IOC/stable/LAST/MP.IOC.zip</url>
<changelog>https://nexus.steamware.net/repository/SWS/MP-IOC/stable/LAST/ChangeLog.html</changelog>
<mandatory>false</mandatory>