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 PacketFastCostBLL { IPacketFastCostDAL _iPacketFastCostDAL = null; public PacketFastCostBLL() { _iPacketFastCostDAL = Factory.GetDALByInterfaceName(DALInterface.IPacketFastCostDAL) as IPacketFastCostDAL; } /// /// 获取封套快速询价 /// /// /// public IList GetModelList(Guid inquiryId) { return _iPacketFastCostDAL.GetModelList(inquiryId); } /// /// 获取封套快速询价价格 /// /// /// /// /// /// /// public decimal GetPacketFastPaperPrice(int packetSizeId, int coveredTypeId, string paperName, int printCount, Guid inquiryId) { return _iPacketFastCostDAL.GetPacketFastPaperPrice(packetSizeId, coveredTypeId, paperName, printCount, inquiryId); } /// /// 保存封套快速询价 /// /// /// /// public bool SaveModelList(IList list, InquiryCondition inquiryCondition) { return _iPacketFastCostDAL.SaveModelList(list, inquiryCondition); } } }