Ancora update parziale riletture post creazione istanze KIT
This commit is contained in:
@@ -71,6 +71,7 @@ namespace MP.Core
|
||||
|
||||
public const string redisXdlData = redisBaseAddr + "Cache:XDL:";
|
||||
|
||||
public const string redisKit = redisBaseAddr + "Cache:Kit";
|
||||
public const string redisKitInst = redisBaseAddr + "Cache:Kit:Inst";
|
||||
public const string redisKitScore = redisBaseAddr + "Cache:Kit:Score";
|
||||
public const string redisKitTempl = redisBaseAddr + "Cache:Kit:Templ";
|
||||
|
||||
@@ -18,5 +18,8 @@ namespace MP.Data.DbModels
|
||||
public string CodArtChild { get; set; } = "";
|
||||
public int QtyKIT { get; set; } = 1;
|
||||
public int QtyART { get; set; } = 1;
|
||||
|
||||
public int IdxPodlParent { get; set; } = 0;
|
||||
public int IdxPodlChild { get; set; } = 0;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -110,7 +110,7 @@ namespace MP.SPEC.Components.ProdKit
|
||||
|
||||
protected override async Task OnParametersSetAsync()
|
||||
{
|
||||
if (!lastFilter.Equals(ActFilter))
|
||||
if (!lastFilter.Equals(ActFilter) || true)
|
||||
{
|
||||
lastFilter = ActFilter.clone();
|
||||
await ReloadData();
|
||||
|
||||
@@ -1142,8 +1142,11 @@ namespace MP.SPEC.Data
|
||||
// salvo
|
||||
fatto = dbController.IstKitInsertByWKS(CodArtParent, KeyFilt);
|
||||
// svuoto cache
|
||||
RedisValue pattern = $"{Utils.redisKitInst}:*";
|
||||
ExecFlushRedisPattern(pattern);
|
||||
ExecFlushRedisPattern((RedisValue)$"{Utils.redisKit}:*");
|
||||
//ExecFlushRedisPattern((RedisValue)$"{Utils.redisKitInst}:*");
|
||||
//ExecFlushRedisPattern((RedisValue)$"{Utils.redisKitScore}:*");
|
||||
//ExecFlushRedisPattern((RedisValue)$"{Utils.redisKitTempl}:*");
|
||||
//ExecFlushRedisPattern((RedisValue)$"{Utils.redisKitWip}:*");
|
||||
return fatto;
|
||||
}
|
||||
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
<Nullable>enable</Nullable>
|
||||
<ImplicitUsings>enable</ImplicitUsings>
|
||||
<RootNamespace>MP.SPEC</RootNamespace>
|
||||
<Version>6.16.2504.1118</Version>
|
||||
<Version>6.16.2504.1119</Version>
|
||||
<UserSecretsId>1800a78a-6ff1-40f9-b490-87fb8bfc1394</UserSecretsId>
|
||||
<SatelliteResourceLanguages>en</SatelliteResourceLanguages>
|
||||
</PropertyGroup>
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<body>
|
||||
<i>Modulo MAPOSPEC </i>
|
||||
<h4>Versione: 6.16.2504.1118</h4>
|
||||
<h4>Versione: 6.16.2504.1119</h4>
|
||||
<br /> Note di rilascio:
|
||||
<ul>
|
||||
<li>
|
||||
|
||||
@@ -1 +1 @@
|
||||
6.16.2504.1118
|
||||
6.16.2504.1119
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<item>
|
||||
<version>6.16.2504.1118</version>
|
||||
<version>6.16.2504.1119</version>
|
||||
<url>https://nexus.steamware.net/repository/SWS/MP-SPEC/stable/LAST/MP.SPEC.zip</url>
|
||||
<changelog>https://nexus.steamware.net/repository/SWS/MP-SPEC/stable/LAST/ChangeLog.html</changelog>
|
||||
<mandatory>false</mandatory>
|
||||
|
||||
Reference in New Issue
Block a user