22 lines
706 B
C#
22 lines
706 B
C#
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<RES_CUSTOMER_LABEL>, IRES_CUSTOMER_LABEL
|
|
{
|
|
public IEnumerable<RES_CUSTOMER_LABEL> List(Pager pager, QueryDto_RES_CUSTOMER_LABEL queryDto)
|
|
{
|
|
var where = PredicateExtensionses.True<RES_CUSTOMER_LABEL>();
|
|
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;
|
|
}
|
|
}
|
|
}
|