username@email.com
2025-05-14 99ddfbcecf0fa2881eb3a91028257eef87dab6de
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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using CY.IDAL;
using CY.Model;
using AbstractFactory;
using CY.IBaseDAL;
using CY.Infrastructure.DESEncrypt;
using CY.Infrastructure.Query;
namespace CY.BLL.OA
{
    public class EC_ExSingleTemBLL
    {
        IEC_ExSingleTemDAL idal_IEC_ExSingleTemDAL = null;
 
        public EC_ExSingleTemBLL()
        {
            idal_IEC_ExSingleTemDAL = Factory.GetDALByInterfaceName(DALInterface.IEC_ExSingleTemDAL) as IEC_ExSingleTemDAL;
        }
 
        /// <summary>
        /// 添加
        /// </summary>
        /// <param name="model"></param>
        /// <returns></returns>
        public bool InsertModel(Model.EC_ExSingleTem model)
        {
            return idal_IEC_ExSingleTemDAL.InserModel(model);
        }
 
        /// <summary>
        /// 更新
        /// </summary>
        /// <param name="model"></param>
        /// <returns></returns>
        public bool UpdateModel(Model.EC_ExSingleTem model)
        {
 
            return idal_IEC_ExSingleTemDAL.UpdateModel(model);
        }
 
        /// <summary>
        /// 删除
        /// </summary>
        /// <param name="model"></param>
        /// <returns></returns>
        public bool DeleteModel(Model.EC_ExSingleTem model)
        {
 
            return idal_IEC_ExSingleTemDAL.DeleteModel(model);
        }
 
        /// <summary>
        /// 根据编号获得信息
        /// </summary>
        /// <param name="Keyid">编号</param>
        /// <returns></returns>
        public EC_ExSingleTem GetModelByKeyid(int? Keyid)
        {
            return idal_IEC_ExSingleTemDAL.GetModelByKeyid(Keyid);
        }
 
        /// <summary>
        /// 根据类型获得信息
        /// </summary>
        /// <param name="Type"></param>
        /// <returns></returns>
        public EC_ExSingleTem GetModelByType(string Type)
        {
            return idal_IEC_ExSingleTemDAL.GetModelByType(Type);
        }
 
        /// <summary>
        /// 分页查询
        /// </summary>
        /// <param name="pagination"></param>
        /// <param name="MemberId"></param>
        /// <param name="MemberName"></param>
        /// <param name="Status"></param>
        /// <returns></returns>
        public IEnumerable<Model.EC_ExSingleTem> SelectModelPage(Infrastructure.Query.Pagination pagination, Guid MemberId)
        {
            return idal_IEC_ExSingleTemDAL.SelectModelPage(pagination,MemberId);
        }
    }
}