Exemple #1
0
        /// <summary>
        /// 获得单据状态,是否已读
        /// </summary>
        /// <param name="code"></param>
        /// <param name="userCode"></param>
        /// <returns></returns>
        public string GetMessageState(string code, string userCode)
        {
            int isread = msgDal.GetMessageState(code, userCode);

            if (isread == 1)
            {
                return("已读");
            }
            else
            {
                return("未读");
            }
        }