using System; using System.Collections.Generic; using System.Linq; using System.Text; using CY.IBaseDAL; using CY.Model; namespace CY.IDAL.Inquiry { /// /// 品牌相关数据库操作接口 /// public interface IBrandInfoDAL : ICommonDAL { /// /// 分页返回品牌列表 /// /// 品牌名称 /// 分页参数 /// IEnumerable SelectModelPage(int paperTypeId, int paperId, string brandName, int status, Infrastructure.Query.Pagination pagination); /// /// 根据主键返回品牌实体 /// /// 主键ID /// 品牌实体 Model.SysInquiry_BrandInfo SelectModelByKey(int keyid); /// /// 判断是否有相同的品牌名称 /// /// /// bool IsExistsBrandName(string brandName, int PaperId); /// /// 批量删除品牌 /// /// /// bool DeleteBrandInfoList(List keyIds); /// /// 返回所有有效的品牌列表 /// /// IEnumerable GetBrandList(); /// /// 新增品牌 /// /// /// bool InsertBrandModel(SysInquiry_BrandInfo model,SysInquiry_BrandListByPaper brandPaper, SysInquiry_PaperInfo paperModel); /// /// 修改品牌 /// /// /// bool UpdateBrandModel(SysInquiry_BrandInfo model,SysInquiry_BrandListByPaper brandPaper, SysInquiry_PaperInfo paperModel,SysInquiry_PaperInfo orPaperModel); /// /// 获取最新排序顺序 /// /// int GetOrderNumByMax(int paperId); } }