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