public ActionResult LoadAnnouncement() { List <NoticeEntity> data = noticeBll.GetList( n => n.TypeId == 2 && n.DeleteMark == (int)DeleteMarkEnum.NotDelete && n.EnabledMark == (int)EnabledMarkEnum.Enabled).ToList(); return(Success("操作成功", data)); }
/// <summary> /// 首页公告列表 /// </summary> /// <returns>返回列表Json</returns> public ActionResult getMyNotice() { var data = noticeBLL.GetList(); return(Content(data.ToJson())); }
public JObject GetList(JObject pagerParas) { NoticeBLL noticeBll = new NoticeBLL(); return(noticeBll.GetList(pagerParas)); }
public ActionResult GetListJson(string queryJson) { var data = noticebll.GetList(queryJson); return(ToJsonResult(data)); }