/**
* IEC_DemandDescribeDAL.cs
*
* 功 能: 用户需求信息数据访问接口
* 类 名: IEC_DemandDescribeDAL
*
* Ver 变更日期 负责人 变更内容
* ───────────────────────────────────
* V0.01 2013-4-12 9:23:24 吴崎均 初版
* V0.02 2013-4-16 吴崎均 增加前后台分页查询
* V0.03 2013-5-28 13:50 吴崎均 修改批量删除方法定义及实现
* V0.04 2013-6-2 10:42 吴崎均 增加修改状态方法
*
*
*
*
*
*/
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using CY.IBaseDAL;
using CY.Model;
namespace CY.IDAL
{
///
/// 用户需求信息-数据库操作接口
///
public interface IEC_DemandDescribeDAL : ICommonDAL, IPaging, IGetAllModel
{
///
/// 根据编号获取实体信息
///
/// 主键编号
///
EC_DemandDescribe SelectModleById(int id);
///
/// 根据编号批量删除数据
///
/// 当前操作人
/// 编号集合
///
bool DeleteDataByIds(string currentOperator, params int[] ids);
///
/// 分页查询(前台用)
///
/// 分页对象
/// 省
/// 市
/// 印刷类型
///
IEnumerable SelectModelPage(Infrastructure.Query.Pagination pagination, string province = "", string city = "", int printTypeId = -1);
///
/// 分页查询(后台用)
///
/// 分页对象
/// 会员编号
/// 名称
/// 开始时间
/// 结束时间
/// 印刷类型
/// 状态
///
IEnumerable SelectModelPage(Infrastructure.Query.Pagination pagination, Guid memberId, string name, DateTime? beginDate, DateTime? endDate, int printTypeId = -1, int? state = null);
///
/// 改变特价信息状态
///
/// 数据编号
/// 状态
///
bool ChangeState(int id, int state);
}
}