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
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 AdhesivePaperPriceBLL
    {
        IAdhesivePaperPriceDAL _iAdhesivePaperPriceDAL = null;
 
        public AdhesivePaperPriceBLL()
        {
            _iAdhesivePaperPriceDAL = Factory.GetDALByInterfaceName(DALInterface.IAdhesivePaperPriceDAL) as IAdhesivePaperPriceDAL;
        }
 
        /// <summary>
        /// 获取不干胶纸价价格
        /// </summary>
        /// <param name="inquiry"></param>
        /// <returns></returns>
        public Inquiry_AdhesivePaperPrice GetModel(Guid inquiry)
        {
            return _iAdhesivePaperPriceDAL.GetModel(inquiry);
        }
 
        /// <summary>
        /// 保存不干胶纸价价格
        /// </summary>
        /// <param name="model"></param>
        /// <param name="inquiryCondition"></param>
        /// <returns></returns>
        public bool SaveModel(Inquiry_AdhesivePaperPrice model, InquiryCondition inquiryCondition)
        {
            return _iAdhesivePaperPriceDAL.SaveModel(model, inquiryCondition);
        }
    }
}