Esempio n. 1
0
 /// <summary>
 /// 插入
 /// </summary>
 /// zouql   16.08.29
 /// <param name="noticeReceiver">通知实体</param>
 /// <returns>插入结果</returns>
 public bool Add(Models.Notice.NoticeInfo noticeReceiver)
 {
     return(NoticeMapper.Insert(noticeReceiver) > 0);
 }
Esempio n. 2
0
 /// <summary>
 /// 更新
 /// </summary>
 /// zouql   16.08.29
 /// <param name="noticeReceiver">通知实体</param>
 /// <returns>更新结果</returns>
 public bool Modify(Models.Notice.NoticeInfo noticeReceiver)
 {
     return(NoticeMapper.Update(noticeReceiver) > 0);
 }