Beispiel #1
0
        /// <summary>
        /// 记录日志详细情况
        /// </summary>
        /// <param name="deptype">部门类别</param>
        /// <param name="depid">部门ID</param>
        /// <param name="bustype">业务类型</param>
        /// <param name="content">日志内容</param>
        public static void LogDept(int deptype, int depid, string bustype, string content)
        {
            LogInfo log = new LogInfo();

            log.BusType  = bustype;
            log.Content  = content;
            log.DepId    = depid;
            log.DepType  = deptype;
            log.Des1     = WebTools.GetClientIPString();
            log.Operator = WebTools.GetLoginUser().OperatorName;
            Log(log);
        }