using Learun.Util;
using System.Collections.Generic;
namespace Learun.Application.OA
{
///
/// 版 本 Learun-ADMS-Ultimate V7.0.0 数字化智慧校园
/// Copyright (c) 2013-2018 北京泉江科技有限公司
/// 创建人:陈彬彬
/// 日 期:2017.04.17
/// 描 述:新闻管理
///
public interface NewsIBLL
{
#region 获取数据
///
/// 新闻列表
///
/// 分页参数
/// 类型
/// 关键词
///
IEnumerable GetPageList(Pagination pagination, string keyword);
IEnumerable GetAboutSchool();
IEnumerable GetNews();
///
/// 新闻公告实体
///
/// 主键值
///
NewsEntity GetEntity(string keyValue);
#endregion
#region 提交数据
///
/// 删除
///
/// 主键
void DeleteEntity(string keyValue);
///
/// 保存(新增、修改)
///
/// 主键值
/// 新闻公告实体
///
void SaveEntity(string keyValue, NewsEntity newsEntity);
#endregion
void ChangeStatusByProcessId(string parameterProcessId, int p1);
}
}