public int GetReplyCount(QueryNotifyReplyForm form) { var mapper = Common.GetMapper(); ReplyDao dao = new ReplyDao(mapper); return(dao.QueryNotifyReplyCount(form)); }
public PaginationEntity <FullReplyInfo> GetReplyList(QueryNotifyReplyForm form) { PaginationEntity <FullReplyInfo> result = new PaginationEntity <FullReplyInfo>(); var mapper = Common.GetMapper(); ReplyDao dao = new ReplyDao(mapper); result.List = dao.QueryNotifyReply(form); result.RecordCount = form.RecordCount; return(result); }