47 lines
1.4 KiB
C#
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

using Learun.Util;
using System.Collections.Generic;
namespace Learun.Application.OA
{
/// <summary>
/// 版 本 PIT-ADMS V7.0.3 敏捷开发框架
/// Copyright (c) 2013-2018 Hexagon PPM
/// 创建人:研发部
/// 日 期2017.04.17
/// 描 述:公告管理
/// </summary>
public interface NoticeIBLL
{
#region
/// <summary>
/// 公告列表
/// </summary>
/// <param name="pagination">分页参数</param>
/// <param name="keyword">关键词</param>
/// <returns></returns>
IEnumerable<NewsEntity> GetPageList(Pagination pagination, string keyword);
/// <summary>
/// 公告实体
/// </summary>
/// <param name="keyValue">主键值</param>
/// <returns></returns>
NewsEntity GetEntity(string keyValue);
#endregion
#region
/// <summary>
/// 删除
/// </summary>
/// <param name="keyValue">主键</param>
void DeleteEntity(string keyValue);
/// <summary>
/// 保存(新增、修改)
/// </summary>
/// <param name="keyValue">主键值</param>
/// <param name="newsEntity">公告实体</param>
/// <returns></returns>
void SaveEntity(string keyValue, NewsEntity newsEntity);
#endregion
}
}