diff --git a/FactorySystemBll/FormulaBll.cs b/FactorySystemBll/FormulaBll.cs index fea04d0..7933097 100644 --- a/FactorySystemBll/FormulaBll.cs +++ b/FactorySystemBll/FormulaBll.cs @@ -62,7 +62,7 @@ namespace FactorySystemBll List updateList = new List(); List insertList = new List(); List factorys = db.Queryable().OrderBy(s => s.FDeleted).ToList(); - List materials = db.Queryable().OrderBy(s => s.FDeleted).ToList(); + List materials = db.Queryable().Where(m => !"10".Equals(m.FType)).OrderBy(s => s.FDeleted).ToList(); List typeList = db.Queryable().Where(s => s.FType == (int)Constant.BasicCode.配方种类).ToList(); //根据PLM码分组