using Aucma.Scada.Model.domain; using HighWayIot.Config; using HighWayIot.Log4net; using System; using System.Collections.Generic; namespace HighWayIot.Repository.service.Impl { public class BaseTeamMembersServiceImpl : IBaseTeamMembersServices { Repository _repository => new Repository("mes"); private LogHelper logHelper = LogHelper.Instance; private AppConfig appConfig = AppConfig.Instance; /// /// 查询班组 /// public List getTeam() { try { List list = null; list = _repository.AsQueryable().Where(d => d.ProductLineCode == appConfig.ProductlineCode && d.TeamCode.Contains(appConfig.TeamConfig)).ToList(); return list; } catch (Exception) { return null; } } } }