Beispiel #1
0
        /// <summary>
        /// 编辑日志
        /// </summary>
        /// <param name="log">日志信息</param>
        private static LogInfoModel EditLogInfo(LogInfo log)
        {
            //日志数据模板定义
            LogInfoModel model = new LogInfoModel();

            //公司代码
            model.CompanyCD = log.UserInfo.CompanyCD;
            //登陆用户ID
            model.UserID = log.UserInfo.UserID;
            //操作模块ID
            model.ModuleID = log.ModuleID;
            //操作单据编号
            model.ObjectID = log.ObjectID;
            //操作对象
            model.ObjectName = log.ObjectName;
            //涉及关键元素
            model.Element = log.Element;
            //备注
            model.Remark = log.Description;

            return(model);
        }