using Aucma.Scada.Model.domain; using HighWayIot.Log4net; using System; using System.Collections.Generic; namespace HighWayIot.Repository.service.Impl { public class BaseMaterialInfoServiceImpl : IBaseMaterialInfoService { Repository _baseMaterialInfo => new Repository("mes"); private LogHelper logHelper = LogHelper.Instance; public List getAllInfos() { try { var info = _baseMaterialInfo.GetList(x => x.MaterialSubclass == "200"); return info; } catch (Exception ex) { logHelper.Error("获取集合异常", ex); return null; } } } }