diff --git a/FactorySystemBll/ViewBll.cs b/FactorySystemBll/ViewBll.cs index 4f95307..fda3cc5 100644 --- a/FactorySystemBll/ViewBll.cs +++ b/FactorySystemBll/ViewBll.cs @@ -538,6 +538,7 @@ namespace FactorySystemBll } } + if (viewList[i].ContainsKey("FTypeID2")) viewList[i].Remove("FTypeID2"); result += db.Updateable(viewList[i]).AS("TFS_ViewMaterial").WhereColumns("FMaterialID").Where(sqlWhere).ExecuteCommand(); }