Ancora fix gestione ODL
This commit is contained in:
@@ -1199,7 +1199,7 @@ namespace MP.Data.Services
|
||||
answ = dbTabController.OdlInizioSetup(idxODL, matrOpr, idxMacchina, tcRich, pzPallet, note);
|
||||
await FlushCache("ODL");
|
||||
await FlushCache("PODL");
|
||||
await FlushCache("VSODL");
|
||||
await FlushCache("VSODL");
|
||||
}
|
||||
catch (Exception exc)
|
||||
{
|
||||
@@ -1893,10 +1893,11 @@ namespace MP.Data.Services
|
||||
/// <param name="idxMacchina">idx macchina da confermare</param>
|
||||
/// <param name="maxAgeSec">Num massimo secondi di "vecchiaia" del dato</param>
|
||||
/// <returns></returns>
|
||||
public bool RicalcMse(string idxMacchina, int maxAgeSec)
|
||||
public async Task<bool> RicalcMse(string idxMacchina, int maxAgeSec)
|
||||
{
|
||||
bool answ = false;
|
||||
answ = dbTabController.RicalcMse(idxMacchina, maxAgeSec);
|
||||
await FlushCache(Constants.redisMseKey);
|
||||
return answ;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user