fix passaggio valore data null x chiamata stored
+ fix tipi dei valori per dbModel lotti esterni
This commit is contained in:
@@ -42,7 +42,7 @@ namespace MP.Data.Controllers
|
||||
List<AnagLottiArca> dbResult = new List<AnagLottiArca>();
|
||||
using (var dbCtx = new MoonPro_ISContext(_configuration))
|
||||
{
|
||||
var DataGiac = new SqlParameter("@DataGiac", DateTime.Now);
|
||||
var DataGiac = new SqlParameter("@DataGiac", DBNull.Value);
|
||||
var CodArt = new SqlParameter("@CodArt", codArt);
|
||||
var CodLotto = new SqlParameter("@CodLotto", codLotto);
|
||||
var CodMagaz = new SqlParameter("@CodMagaz", codMagazzino);
|
||||
@@ -52,7 +52,6 @@ namespace MP.Data.Controllers
|
||||
.DbLottoArca
|
||||
.FromSqlRaw("exec dbo.stp_GIAC_getByDate @DataGiac,@CodArt,@CodLotto,@CodMagaz,@OnlyTest", DataGiac, CodArt, CodLotto, CodMagaz, OnlyTest)
|
||||
.AsNoTracking()
|
||||
//.AsEnumerable()
|
||||
.ToList();
|
||||
}
|
||||
return dbResult;
|
||||
|
||||
Reference in New Issue
Block a user