Exemplo n.º 1
0
        /// <summary>
        /// 表单预警消息列表
        /// </summary>
        /// <param name="pt"></param>
        /// <param name="UserId"></param>
        /// <param name="state"></param>
        /// <param name="SDT"></param>
        /// <param name="EDT"></param>
        /// <returns></returns>
        public HttpResponseMessage GetEarlyWarningFormInfo([FromUri] OARequest pt)
        {
            var data = _earlyWarning.GetEarlyWarningFormInfo(pt, pt.UserId, pt.ProjectId, pt.state, pt.SDT, pt.EDT);

            return(AjaxResult.Success(data).ToJsonApi());
        }
Exemplo n.º 2
0
        /// <summary>
        /// 我的消息列表
        /// </summary>
        /// <param name="pt"></param>
        /// <param name="UserId"></param>
        /// <param name="state"></param>
        /// <param name="SDT"></param>
        /// <param name="EDT"></param>
        /// <returns></returns>
        public HttpResponseMessage GetMyMessage([FromUri] OARequest pt)
        {
            var data = _flowperform.GetMessageStateList(pt, pt.UserId, pt.ProjectId, pt.state, pt.SDT, pt.EDT);

            return(AjaxResult.Success(data).ToJsonApi());
        }