username@email.com
2022-01-21 b18a7c8e54b51a5caa400e55cb8cc428c0301a0c
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
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.Integrity
{
    public class Integrity_EvaluationRecordsBLL
    {
        IIntegrity_EvaluationRecordsDAL idal_IIntegrity_EvaluationRecordsDAL = null;
 
        public Integrity_EvaluationRecordsBLL()
        {
            idal_IIntegrity_EvaluationRecordsDAL = Factory.GetDALByInterfaceName(DALInterface.IIntegrity_EvaluationRecordsDAL) as IIntegrity_EvaluationRecordsDAL;
        }
 
        /// <summary>
        /// 添加
        /// </summary>
        /// <param name="model"></param>
        /// <returns></returns>
        public bool InsertModel(Model.Integrity_EvaluationRecords model)
        {
            return idal_IIntegrity_EvaluationRecordsDAL.InserModel(model);
        }
 
        /// <summary>
        /// 更新
        /// </summary>
        /// <param name="model"></param>
        /// <returns></returns>
        public bool UpdateModel(Model.Integrity_EvaluationRecords model)
        {
 
            return idal_IIntegrity_EvaluationRecordsDAL.UpdateModel(model);
        }
 
        /// <summary>
        /// 删除
        /// </summary>
        /// <param name="model"></param>
        /// <returns></returns>
        public bool DeleteModel(Model.Integrity_EvaluationRecords model)
        {
 
            return idal_IIntegrity_EvaluationRecordsDAL.DeleteModel(model);
        }
 
        /// <summary>
        /// 根据编号获得信息
        /// </summary>
        /// <param name="Keyid">编号</param>
        /// <returns></returns>
        public Integrity_EvaluationRecords GetModelByKeyid(int? Keyid)
        {
            return idal_IIntegrity_EvaluationRecordsDAL.GetModelByKeyid(Keyid);
        }
 
        /// <summary>
        /// 根据订单编号获得信息
        /// </summary>
        /// <param name="OrderId">订单编号</param>
        /// <returns></returns>
        public Integrity_EvaluationRecords GetModelByOrderId(int? OrderId)
        {
            return idal_IIntegrity_EvaluationRecordsDAL.GetModelByOrderId(OrderId);
        }
    }
}