From 4a574cd38860e7260f9349f9770c87d27dfdeeaf Mon Sep 17 00:00:00 2001
From: dengjunjie <dengjunjie@hnkhzn.com>
Date: 星期三, 01 四月 2026 20:59:27 +0800
Subject: [PATCH] 1
---
代码管理/WCS/WIDESEAWCS_Server/WIDESEAWCS_BasicInfoService/TrackloginfoService.cs | 25 +++++++++++++++++++++++--
1 files changed, 23 insertions(+), 2 deletions(-)
diff --git "a/\344\273\243\347\240\201\347\256\241\347\220\206/WCS/WIDESEAWCS_Server/WIDESEAWCS_BasicInfoService/TrackloginfoService.cs" "b/\344\273\243\347\240\201\347\256\241\347\220\206/WCS/WIDESEAWCS_Server/WIDESEAWCS_BasicInfoService/TrackloginfoService.cs"
index 3ed9c70..343c850 100644
--- "a/\344\273\243\347\240\201\347\256\241\347\220\206/WCS/WIDESEAWCS_Server/WIDESEAWCS_BasicInfoService/TrackloginfoService.cs"
+++ "b/\344\273\243\347\240\201\347\256\241\347\220\206/WCS/WIDESEAWCS_Server/WIDESEAWCS_BasicInfoService/TrackloginfoService.cs"
@@ -1,4 +1,5 @@
-锘縰sing Newtonsoft.Json;
+锘縰sing Microsoft.AspNetCore.Mvc;
+using Newtonsoft.Json;
using SqlSugar;
using System;
using System.Collections.Generic;
@@ -46,9 +47,10 @@
//tracklog_content = JsonConvert.SerializeObject(entity),
tracklog_content = entity is string strEntity ? strEntity : JsonConvert.SerializeObject(entity),//濡傛灉entity鏄瓧绗︿覆绫诲瀷锛屽垯鐩存帴浣跨敤锛屽惁鍒欏簭鍒楀寲涓篔SON瀛楃涓�
tracklog_createtime = DateTime.Now,
+ Creater = "system",
tracklog_type = content.Status ? "鎴愬姛" : "澶辫触",
tracklog_code = content.Status ? logCode : ("4" + logCode),
- tracklog_des = description,
+ tracklog_des = JsonConvert.SerializeObject(content),
tracklog_message = content.Status ? "" : content.Message,
tracklog_operator = "system"/*UserContext.Current.UserName*/
};
@@ -61,5 +63,24 @@
}
return content1;
}
+
+
+
+ public override PageGridData<Dt_trackloginfo> GetPageData(PageDataOptions options)
+ {
+ PageGridData<Dt_trackloginfo> car = null;
+ try
+ {
+ car = base.GetPageData(options);
+ }
+ catch (Exception ex)
+ {
+
+ }
+ return car;
+ }
+
+
}
}
+
--
Gitblit v1.9.3