using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using CY.IBaseDAL;
using CY.Model;
using CY.Infrastructure.Query;
namespace CY.IDAL
{
///
/// 办公系统意向客户-数据库操作接口
///
public interface IOA_IntentionCustomerDAL : ICommonDAL, IPaging, IGetAllModel
{
///
/// 获取最大的customerId
///
///
///
OA_IntentionCustomer getMaxCustomerIdModel(Guid FirmId);
///
/// 获取所有意向客户列表
///
///
///
IEnumerable getAllIntentionCustomer(Guid FirmId);
///
/// 根据Keyid获取单个客户
///
///
///
OA_IntentionCustomer getSingleIntentionCustomer(string Keyid);
///
/// 判断公司名字是否存在
///
///
///
bool isExistCompanyName(String CompanyName, Guid FirmId, int ID);
///
/// 获取查询集合
///
///
///
///
///
///
IEnumerable getAllIntentionCustomer(Pagination pa, Guid FirmId, string CompanyName, DateTime? beginTime, DateTime? endTime
, string SourcesInfoId, string CustomerIndustriesId
, string AccountManagerId, string BusinessManagerId
, string CustomerTypeId, string TurnoverIntentionId
, string CustomerStatusId, string DegreeImportanId
, string Province, string City, string County);
///
/// 模糊查询公司名称
///
///
///
///
IEnumerable SelectListByName(String CompanyName, Guid FirmId);
///
/// 意向客户访问记录
///
///
///
///
///
///
///
///
///
///
///
///
///
///
///
///
///
///
///
///
///
///
///
///
///
///
///
///
///
///
///
///
IEnumerable getAllIntentionCustomerList(Pagination pa,
Guid FirmId,
string CompanyName,
DateTime? beginTime,
DateTime? endTime,
string SourcesInfoId,
string CustomerIndustriesId,
string AccountManagerId,
string BusinessManagerId,
string CustomerTypeId,
string TurnoverIntentionId,
string CustomerStatusId,
string DegreeImportanId,
string Province,
string City,
string County,
string selNupdoor,
string Nupdoor,
string selNphone,
string Nphone,
string selNqq,
string Nqq,
string selNmessage,
string Nmessage,
string selNemial,
string Nemial,
string selNDirectMail,
string NDirectMail,
string selNall,
string Nall
);
///
/// 根据客户编号获取客户
///
/// 客户编号
///
IEnumerable SelectListListByCustomId(string Keyid, Guid MemberId);
}
}