using System.Collections.Generic; using WX.CRM.Common; using WX.CRM.IBLL.Res; using WX.CRM.Model.Entity; namespace WX.CRM.BLL.Res { public class RES_CUSTOMER_LABEL_BL : DbContextRepository, IRES_CUSTOMER_LABEL { public IEnumerable List(Pager pager, QueryDto_RES_CUSTOMER_LABEL queryDto) { var where = PredicateExtensionses.True(); if (!string.IsNullOrEmpty(queryDto.ResId)) where = where.And(p => p.RESID == queryDto.ResId); where = where.And(p => p.RFMTYPE == 1); var list = GetList(where, p => p.ID, pager); return list; } } }