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
/**  
* EC_OrderBLL.cs
*
* 功 能: 特价信息业务逻辑
* 类 名: EC_OrderBLL
*
* Ver    变更日期             负责人  变更内容
* ───────────────────────────────────
* V0.01  2013-5-21 16:50      吴崎均    增加更新回访记录方法、根据订单编号获取回访记录
*
*/
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using CY.IDAL;
using CY.Model;
using AbstractFactory;
using CY.Infrastructure.Query;
using System.Data;
namespace CY.BLL.OA
{
    /// <summary>
    /// 回访记录业务逻辑类
    /// </summary>
    public class OA_VisitNoteBLL
    {
 
        IOA_VisitNoteDAL _iOA_VisitNoteDAL = null;
        /// <summary>
        /// 初始化构造 
        /// </summary>
        public OA_VisitNoteBLL()
        {
            _iOA_VisitNoteDAL = Factory.GetDALByInterfaceName(DALInterface.IOA_VisitNoteDAL) as IOA_VisitNoteDAL;
 
        }
 
        /// <summary>
        /// 更新回访记录
        /// </summary>
        /// <param name="visitNote">回访记录</param>
        /// <returns></returns>
        public bool UpdateVisitNote(OA_VisitNote visitNote)
        {
            return _iOA_VisitNoteDAL.UpdateVisitNote(visitNote);
        }
        /// <summary>
        /// 根据订单编号获取回访记录
        /// </summary>
        /// <param name="orderId">订单编号</param>
        /// <returns></returns>
        public OA_VisitNote SelectVisitNoteById(int orderId)
        {
            return _iOA_VisitNoteDAL.SelectVisitNoteById(orderId);
        }
 
 
    }
}