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 EnvelopFastCostBLL { IEnvelopFastCostDAL _iEnvelopFastCostDAL = null; public EnvelopFastCostBLL() { _iEnvelopFastCostDAL = Factory.GetDALByInterfaceName(DALInterface.IEnvelopFastCostDAL) as IEnvelopFastCostDAL; } /// /// 获取信封快速设置 /// /// /// public IList GetModelList(Guid inquiryId) { return _iEnvelopFastCostDAL.GetModelList(inquiryId); } /// /// 获取信封快速询价价格 /// /// public decimal GetEnvelopFastPaperPrice(string envelopeshape, int envelopeModeTypeId, int printCount, Guid inquiryId) { return _iEnvelopFastCostDAL.GetEnvelopFastPaperPrice(envelopeshape, envelopeModeTypeId, printCount, inquiryId); } /// /// 保存信封快速设置信息 /// /// /// /// public bool SaveModelList(IList list, InquiryCondition inquiryCondition) { return _iEnvelopFastCostDAL.SaveModelList(list, inquiryCondition); } } }