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
|
{
|
public class OA_DocumentDicBLL
|
{
|
IOA_DocumentDicDAL iOA_DocumentDicDAL = null;
|
|
public OA_DocumentDicBLL()
|
{
|
iOA_DocumentDicDAL = Factory.GetDALByInterfaceName(DALInterface.IOA_DocumentDicDAL) as IOA_DocumentDicDAL;
|
}
|
|
/// <summary>
|
/// 添加
|
/// </summary>
|
/// <param name="model"></param>
|
/// <returns></returns>
|
public bool InsertModel(Model.OA_DocumentDic model)
|
{
|
return iOA_DocumentDicDAL.InserModel(model);
|
}
|
|
/// <summary>
|
/// 更新
|
/// </summary>
|
/// <param name="model"></param>
|
/// <returns></returns>
|
public bool UpdateModel(Model.OA_DocumentDic model)
|
{
|
|
return iOA_DocumentDicDAL.UpdateModel(model);
|
}
|
|
/// <summary>
|
/// 删除
|
/// </summary>
|
/// <param name="model"></param>
|
/// <returns></returns>
|
public bool DeleteModel(Model.OA_DocumentDic model)
|
{
|
|
return iOA_DocumentDicDAL.DeleteModel(model);
|
}
|
|
/// <summary>
|
/// 根据编号获得信息
|
/// </summary>
|
/// <param name="Keyid">编号</param>
|
/// <returns></returns>
|
public OA_DocumentDic GetModelByKeyid(int? Keyid)
|
{
|
return iOA_DocumentDicDAL.GetModelByKeyid(Keyid);
|
}
|
|
/// <summary>
|
/// 分页查询
|
/// </summary>
|
/// <param name="pagination"></param>
|
/// <returns></returns>
|
public IEnumerable<Model.OA_DocumentDic> SelectModelPage(Infrastructure.Query.Pagination pagination,Guid _MemberId,string _ParType,string _ParName,DateTime? _BeginLastUpdateTime,DateTime? _EndLastUpdateTime,string _Operator)
|
{
|
return iOA_DocumentDicDAL.SelectModelPage(pagination, _MemberId, _ParType, _ParName,_BeginLastUpdateTime,_EndLastUpdateTime, _Operator);
|
}
|
}
|
}
|