using Durkee.Mes.Api.Model; using Microsoft.IdentityModel.Logging; using System; using System.Collections.Generic; using System.Text; namespace Durkee.Mes.Api.Repository.service.Impl { public class BaseBomInfoServiceImpl : IBaseBomInfoService { private Repository _bomInfoRepository; public BaseBomInfoServiceImpl(Repository bomInfoRepository) { _bomInfoRepository = bomInfoRepository; } public List GetBomInfos() { try { var info = _bomInfoRepository.GetList(); return info; } catch (Exception ex) { //logHelper.Error("获取BOM集合异常", ex); return null; } } } }