コード例 #1
0
        public ReplayBase DelSysLog(DelSysLogRequestModel condtion)
        {
            ReplayBase result = SysManagerService.DelSysLog(condtion);

            if (result.ReturnCode == EnumErrorCode.Success)
            {
                SysUserLogModel log = new SysUserLogModel()
                {
                    Describe  = "删除了" + condtion.rows.Count.ToString() + "条系统运行日志",
                    SysUserId = User.Identity.Name
                };
                SysManagerService.CreateSysUserLog(log);
            }
            return(result);
        }
コード例 #2
0
        /// <summary>
        /// 批量删除系统日志
        /// </summary>
        /// <param name="condtion"></param>
        /// <returns></returns>
        internal static ReplayBase DelSysLog(DelSysLogRequestModel condtion)
        {
            ReplayBase result = BaseSysTemDataBaseManager.SysDelSysLog(condtion);

            return(result);
        }