using HighWayIot.Log4net; using HighWayIot.Repository.domain; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace HighWayIot.Repository.service.Impl { public class BaseBomInfoServiceImpl:IBaseBomInfoService { Repository _bomInfoRepository => new Repository("aucma_mes"); private LogHelper logHelper = LogHelper.Instance; public List GetBomInfos() { try { var info = _bomInfoRepository.GetList(); return info; }catch(Exception ex) { logHelper.Error("获取BOM集合异常", ex); return null; } } } }