You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
32 lines
830 B
C#
32 lines
830 B
C#
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<BaseBomInfo> _bomInfoRepository;
|
|
public BaseBomInfoServiceImpl(Repository<BaseBomInfo> bomInfoRepository)
|
|
{
|
|
_bomInfoRepository = bomInfoRepository;
|
|
}
|
|
|
|
public List<BaseBomInfo> GetBomInfos()
|
|
{
|
|
try
|
|
{
|
|
var info = _bomInfoRepository.GetList();
|
|
return info;
|
|
}
|
|
catch (Exception ex)
|
|
{
|
|
//logHelper.Error("获取BOM集合异常", ex);
|
|
return null;
|
|
}
|
|
}
|
|
}
|
|
}
|