- aggiunta e testata chiusura ODL
- aggiunta gestione reload forzoso se sparisce chiamata
This commit is contained in:
Samuele Locatelli
2022-12-09 17:41:21 +01:00
parent 508cba7f11
commit 990ea5e2af
11 changed files with 180 additions and 78 deletions
+5 -6
View File
@@ -912,14 +912,13 @@ namespace MP.Data.Controllers
*/
}
// ora chiudo ODL
// ora chiudo ODL con stored SENZA ritorno...
try
{
var dbResult = await dbCtx
.DbSetStatOdl
.FromSqlRaw("EXEC stp_ODL_fineProd @IdxODL, @IdxMacchina", IdxODL, IdxMacchina)
.AsNoTracking()
.ToListAsync();
var dbResult = dbCtx
.Database
.ExecuteSqlRaw("EXEC stp_ODL_fineProd @IdxODL, @IdxMacchina", IdxODL, IdxMacchina);
fatto = true;
}
catch (Exception exc)
{