Exemplo n.º 1
0
        public string GetAccountName(string id)
        {
            string name;
            string accountID = "";

            if (StartState == "-1")
            {
                accountID = ProcessHistoryHelper.GetAdviceProcessHistory(ArticleID, id).ProcessAccountID;
            }
            else
            {
                accountID = ProcessHistoryHelper.GetArticleProcessHistory(ArticleID, id).ProcessAccountID;
            }
            if (We7Helper.IsEmptyID(accountID))
            {
                name = "管理员";
            }
            else
            {
                name = AccountHelper.GetAccount(accountID, new string[] { "LastName" }).LastName;
            }
            if (name == null || name == "")
            {
                name = "未知用户";
            }
            return(name);
        }
Exemplo n.º 2
0
        public string GetRemark(string adviceID, string id)
        {
            string remark = ProcessHistoryHelper.GetAdviceProcessHistory(adviceID, id).Remark;

            if (remark != "")
            {
                remark = ",并发表意见:" + remark;
            }
            return(remark);
        }
Exemplo n.º 3
0
        public string GetRemark(string id)
        {
            string remark = "";

            if (StartState == "-1")
            {
                remark = ProcessHistoryHelper.GetAdviceProcessHistory(AdviceID, id).Remark;
            }
            else
            {
                remark = ProcessHistoryHelper.GetArticleProcessHistory(ArticleID, id).Remark;
            }

            if (remark != "")
            {
                remark = ",并发表意见:<p>" + remark + "</p>";
            }
            return(remark);
        }