You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
66 lines
1.9 KiB
66 lines
1.9 KiB
10 months ago
|
using FangYar.Model.TBL;
|
||
|
using System;
|
||
|
using System.Collections.Generic;
|
||
|
using System.Linq;
|
||
|
using System.Text;
|
||
|
|
||
|
namespace FangYar.IDAL.TBL
|
||
|
{
|
||
|
public interface SysNoticeIDAL
|
||
|
{
|
||
|
/// <summary>
|
||
|
/// 根据ID获取model
|
||
|
/// </summary>
|
||
|
TBL_SYS_NOTICE GetModelByID(string ID);
|
||
|
/// <summary>
|
||
|
/// 根据条件获取model
|
||
|
/// </summary>
|
||
|
List<TBL_SYS_NOTICE> GetList(string where);
|
||
|
/// <summary>
|
||
|
/// 添加
|
||
|
/// </summary>
|
||
|
bool Add(TBL_SYS_NOTICE model);
|
||
|
/// <summary>
|
||
|
/// 删除
|
||
|
/// </summary>
|
||
|
bool Delete(string IDList);
|
||
|
/// <summary>
|
||
|
/// 编辑
|
||
|
/// </summary>
|
||
|
bool Edit(TBL_SYS_NOTICE model);
|
||
|
|
||
|
/// <summary>
|
||
|
/// 获取记录数
|
||
|
/// </summary>
|
||
|
/// <param name="strwhere"></param>
|
||
|
/// <returns></returns>
|
||
|
int Count(string strwhere);
|
||
|
int UnReadNoticeCount(string strwhere);
|
||
|
List<TBL_SYS_NOTICE> UnReadNoticeList(string strwhere);
|
||
|
|
||
|
/// <summary>
|
||
|
/// 分页
|
||
|
/// </summary>
|
||
|
/// <param name="PageIndex"></param>
|
||
|
/// <param name="PageSize"></param>
|
||
|
/// <param name="strwhere"></param>
|
||
|
/// <param name="order"></param>
|
||
|
void QueryProc(int PageIndex, int PageSize, string strwhere, string order);
|
||
|
|
||
|
List<TBL_SYS_NOTICE> QueryList(int PageIndex, int PageSize, string strwhere, string order);
|
||
|
List<TBL_SYS_NOTICE> QueryJoinPageList(int PageIndex, int PageSize, string strwhere, string order);
|
||
|
|
||
|
|
||
|
/// <summary>
|
||
|
/// 添加
|
||
|
/// </summary>
|
||
|
List<FangYar.Model.OA.CommonSql> Add(TBL_SYS_NOTICE model, List<TBL_SYS_NOTICESENDRECORD> listModel);
|
||
|
/// <summary>
|
||
|
/// 编辑
|
||
|
/// </summary>
|
||
|
List<FangYar.Model.OA.CommonSql> Edit(TBL_SYS_NOTICE model, List<TBL_SYS_NOTICESENDRECORD> listModel,int ifUpdateReciver);
|
||
|
|
||
|
|
||
|
}
|
||
|
}
|