Пример #1
0
        public int GetReplyCount(QueryNotifyReplyForm form)
        {
            var      mapper = Common.GetMapper();
            ReplyDao dao    = new ReplyDao(mapper);

            return(dao.QueryNotifyReplyCount(form));
        }
Пример #2
0
        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);
        }