using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using CY.IDAL.Inquiry;
using AbstractFactory;
using CY.Model;
using CY.Model.Inquiry;
namespace CY.BLL.Inquiry
{
///
///便签快速询价业务逻辑类
///
public class NoteFastCostBLL
{
INoteFastCostDAL _iNoteFastCostDAL = null;
public NoteFastCostBLL()
{
_iNoteFastCostDAL = Factory.GetDALByInterfaceName(DALInterface.INoteFastCostDAL) as INoteFastCostDAL;
}
///
/// 获取便签快速询价
///
///
///
public IList GetModelList(Guid inquiryId)
{
return _iNoteFastCostDAL.GetModelList(inquiryId);
}
///
/// 保存便签快速询价
///
///
///
///
public bool SaveModelList(IList list, InquiryCondition inquiryCondition)
{
return _iNoteFastCostDAL.SaveModelList(list, inquiryCondition);
}
///
/// 获取便签快速询价价格
///
///
///
///
///
///
///
public decimal GetNoteFastPaperPrice(string paperName, int paperSizeId, string printColor, int printCount, Guid inquiryId)
{
return _iNoteFastCostDAL.GetNoteFastPaperPrice(paperName, paperSizeId, printColor, printCount, inquiryId);
}
}
}