From 1581189aad05d97267d240a65e0215f4946130e5 Mon Sep 17 00:00:00 2001
From: xiazhengtongxue <133085197+xiazhengtongxue@users.noreply.github.com>
Date: 星期四, 12 三月 2026 15:29:30 +0800
Subject: [PATCH] feat: 新增异常任务处理按钮 fix: 修复任务取消bug,按照分组取消。 refactor: 重构日志为文本,减少数据库压力

---
 项目代码/WCSServices/WIDESEAWCS_ISystemServices/ISys_LogService.cs |   66 ++++++++++++++++++++++++++++++--
 1 files changed, 61 insertions(+), 5 deletions(-)

diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WCSServices/WIDESEAWCS_ISystemServices/ISys_LogService.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WCSServices/WIDESEAWCS_ISystemServices/ISys_LogService.cs"
index 825ecbd..c2b7582 100644
--- "a/\351\241\271\347\233\256\344\273\243\347\240\201/WCSServices/WIDESEAWCS_ISystemServices/ISys_LogService.cs"
+++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WCSServices/WIDESEAWCS_ISystemServices/ISys_LogService.cs"
@@ -1,17 +1,73 @@
-锘縰sing System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-using System.Threading.Tasks;
+锘縰sing WIDESEAWCS_Core;
 using WIDESEAWCS_Core.BaseServices;
 using WIDESEAWCS_Model.Models;
 
 namespace WIDESEAWCS_ISystemServices
 {
+
     public interface ISys_LogService : IService<Sys_Log>
     {
         void ScheduleDatabaseMaintenance();
         void DeleteOldLogs();
         void CheckAndManageFileSize();
+        WebResponseContent GetLogList();
+        WebResponseContent GetLogData(GetLogParm parm);
     }
+
+    #region 瀹炰綋绫�
+    public class DirInfo
+    {
+        /// <summary>
+        /// 褰撳墠璺緞
+        /// </summary>
+        public string dirPath { get; set; }
+
+        /// <summary>
+        /// 褰撳墠鍚嶇О
+        /// </summary>
+        public string dirName { get; set; }
+
+        /// <summary>
+        /// 瀛愭枃浠�
+        /// </summary>
+        public List<FileDataInfo> files { get; set; }
+
+        /// <summary>
+        /// 瀛愭枃浠跺す
+        /// </summary>
+        public List<DirInfo> dirs { get; set; }
+    }
+
+    public class FileDataInfo
+    {
+        public string filePath { get; set; }
+
+        public string fileName { get; set; }
+
+        public long fileSize { get; set; }
+    }
+
+    public class GetLogParm
+    {
+        /// <summary>
+        /// 鏂囦欢鍦板潃
+        /// </summary>
+        public string path;
+
+        /// <summary>
+        /// 璇诲彇杩涘害
+        /// </summary>
+        public float percent;
+
+        /// <summary>
+        /// 鏈�澶ц鍙栧ぇ灏�
+        /// </summary>
+        public double maxsize_KB = 20;
+
+        /// <summary>
+        /// 褰撳墠璧峰浣嶇疆
+        /// </summary>
+        public long topStartPos = 0;
+    }
+    #endregion
 }

--
Gitblit v1.9.3