aggiunta pagina invio
This commit is contained in:
@@ -462,7 +462,7 @@ namespace MP.Data.Controllers
|
||||
}
|
||||
#endregion gestione UDC
|
||||
|
||||
#region gestione lotti
|
||||
#region gestione lotti interni
|
||||
/// <summary>
|
||||
/// elenco lotti
|
||||
/// </summary>
|
||||
@@ -500,7 +500,7 @@ namespace MP.Data.Controllers
|
||||
return dbResult;
|
||||
}
|
||||
|
||||
#endregion gestione lotti
|
||||
#endregion gestione lotti interni
|
||||
|
||||
#region gestione sessione
|
||||
|
||||
@@ -598,6 +598,32 @@ namespace MP.Data.Controllers
|
||||
|
||||
#endregion gestione sessione
|
||||
|
||||
#region gestione totale lotti
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Elenco Totale lotti x sessione
|
||||
/// </summary>
|
||||
/// <param name="sessID"></param>
|
||||
/// <returns></returns>
|
||||
public List<InveSessTotLotModel> InveSessTotLotList(int sessID)
|
||||
{
|
||||
List<InveSessTotLotModel> dbResult = new List<InveSessTotLotModel>();
|
||||
using (var dbCtx = new MoonPro_InveContext(_configuration))
|
||||
{
|
||||
var SessID = new SqlParameter("@sessId", sessID);
|
||||
|
||||
dbResult = dbCtx
|
||||
.DbTotLotti
|
||||
.FromSqlRaw("exec dbo.stp_INVE_TotLotBySess @sessId", SessID)
|
||||
.AsNoTracking()
|
||||
.AsEnumerable()
|
||||
.ToList();
|
||||
}
|
||||
return dbResult;
|
||||
}
|
||||
#endregion gestione totale lotti
|
||||
|
||||
#endregion Public Methods
|
||||
|
||||
#region Private Fields
|
||||
|
||||
@@ -665,7 +665,6 @@ namespace MP.Data.Controllers
|
||||
.DbSetPODLExp
|
||||
.FromSqlRaw("EXEC stp_PODL_getByFiltSpec @Lanciato, @KeyRich, @CodGruppo, @IdxMacchina, @DateFrom, @DateTo", Lanc, KeyRich, CodGrp, IdxMacc, DateFrom, DateTo)
|
||||
.AsNoTracking()
|
||||
//.AsEnumerable()
|
||||
.ToList();
|
||||
}
|
||||
return dbResult;
|
||||
|
||||
Reference in New Issue
Block a user