using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using CY.IDAL.Inquiry;
using AbstractFactory;
using CY.Model;
using CY.Infrastructure.Query;
namespace CY.BLL.Inquiry
{
///
/// 跟单记录业务逻辑
///
public class FollowRecordInfoBLL
{
IFollowRecordInfoDAL _iFollowRecordInfoDAL = null;
public FollowRecordInfoBLL()
{
_iFollowRecordInfoDAL = Factory.GetDALByInterfaceName(DALInterface.IFollowRecordInfoDAL) as IFollowRecordInfoDAL;
}
///
/// 获取跟单记录列表
///
///
///
public IList GetModeList(int recordId, Pagination pa)
{
return _iFollowRecordInfoDAL.GetModeList(recordId, pa);
}
///
/// 修改跟单记录
///
///
///
public bool InsertModel(Inquiry_FollowRecordInfo model)
{
return _iFollowRecordInfoDAL.InserModel(model);
}
///
/// 修改跟单记录
///
///
///
public bool UpdateModel(Inquiry_FollowRecordInfo model)
{
return _iFollowRecordInfoDAL.UpdateModel(model);
}
///
/// 批量删除记录
///
///
///
public bool DeleteModelList(List keyIdList)
{
return _iFollowRecordInfoDAL.DeleteModelList(keyIdList);
}
}
}