Correzione
This commit is contained in:
@@ -75,7 +75,6 @@
|
||||
.FirstOrDefault();
|
||||
if (ordRowRec != null)
|
||||
{
|
||||
|
||||
// recupero record specifico SE trovato
|
||||
var currRec = dbCtx
|
||||
.DbSetProdGroup
|
||||
@@ -119,9 +118,10 @@
|
||||
.DbSetProdGroup
|
||||
.Add(newRec);
|
||||
ordRowRec.ProdEstimTime = newRec.TotalEstimTime;
|
||||
}
|
||||
|
||||
// segno ordine come Assigned se non lo fosse...
|
||||
if (ordRowRec.OrderRowState != OrderStates.Assigned)
|
||||
// segno ordine come Assigned se non lo fosse...
|
||||
if (ordRowRec.OrderRowState != OrderStates.Assigned)
|
||||
{
|
||||
ordRowRec.OrderRowState = OrderStates.Assigned;
|
||||
dbCtx.Entry(ordRowRec).State = EntityState.Modified;
|
||||
|
||||
Reference in New Issue
Block a user