From 567fb8c8c0851f1ae24176d7414299a28696a276 Mon Sep 17 00:00:00 2001 From: 南骏 池 <chiffly@163.com> Date: 星期五, 16 五月 2025 17:34:24 +0800 Subject: [PATCH] 1.公共日志方法 2.携客云获取到货单 --- util/LogUtil.cs | 35 +++++++++++++++++++++++++++++++++++ 1 files changed, 35 insertions(+), 0 deletions(-) diff --git a/util/LogUtil.cs b/util/LogUtil.cs index e91a9bc..7c96c8c 100644 --- a/util/LogUtil.cs +++ b/util/LogUtil.cs @@ -36,5 +36,40 @@ } ); } + + + public void CreateLogI( + SqlSugarScope db, + Guid edtUserGuid, + string abtGuid, + string abtTable, + string detail, + string orderNo, + string sendJson, + string rtnJson, + string xkyBeginTime, + string xkyEndTime, + int sendStatus, + string executeTime) + { + db.Ado.ExecuteCommand( + "exec prc_log_create @edtUserGuid, @abtGuid, @abtTable, @detail, @hNo,@RtnLogGuid, @SendJson, @RtnJson, @xkyBeginTime, @xkyEndTime, @sendStatus, @executeTime", + new { + edtUserGuid, + abtGuid = string.IsNullOrEmpty(abtGuid) ? DBNull.Value : (object)abtGuid, + abtTable = (object)abtTable ?? DBNull.Value, + detail, + hNo = orderNo, + RtnLogGuid = DBNull.Value, + SendJson = sendJson, + RtnJson = rtnJson, + xkyBeginTime = (object)xkyBeginTime ?? DBNull.Value, + xkyEndTime = (object)xkyEndTime ?? DBNull.Value, + sendStatus = (object)sendStatus ?? DBNull.Value, + executeTime = (object)executeTime ?? DBNull.Value + }); } + } + + } \ No newline at end of file -- Gitblit v1.9.3