username@email.com
2025-05-21 a980cd04341d71216e0f59bd4b7327fe9fc50032
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
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 ReticuleFastCostBLL
    {
        IReticuleFastCostDAL _iReticuleFastCostDAL = null;
 
        public ReticuleFastCostBLL()
        {
            _iReticuleFastCostDAL = Factory.GetDALByInterfaceName(DALInterface.IReticuleFastCostDAL) as IReticuleFastCostDAL;
        }
 
        /// <summary>
        /// 获取手提袋快速询价价格表列表
        /// </summary>
        /// <param name="inquiryId"></param>
        /// <param name="paperSize"></param>
        /// <returns></returns>
        public IList<Inquiry_ReticuleFastCost> GetModelList(Guid inquiryId, string paperSize)
        {
            return _iReticuleFastCostDAL.GetModelList(inquiryId, paperSize);
        }
 
        /// <summary>
        /// 获取手提袋快速询价价格
        /// </summary>
        /// <returns></returns>
        public decimal GetReticuleFastPaperPrice(string paperSizeName, int gramWeight, int paperId, int printCount, Guid inquiryId)
        {
            return _iReticuleFastCostDAL.GetReticuleFastPaperPrice(paperSizeName, gramWeight, paperId, printCount, inquiryId);
        }
 
       /// <summary>
       /// 保存手提袋快速询价
       /// </summary>
       /// <param name="list"></param>
       /// <param name="inquiryCondition"></param>
       /// <returns></returns>
        public bool SaveModelList(IList<Inquiry_ReticuleFastCost> list, InquiryCondition inquiryCondition)
        {
            return _iReticuleFastCostDAL.SaveModelList(list, inquiryCondition);
        }
    }
}