/**
|
* 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);
|
}
|
|
|
}
|
}
|