From f5e16cc4ddb1f890d9629511b64a8e282316c424 Mon Sep 17 00:00:00 2001
From: 快乐的昕的电脑 <快乐的昕的电脑@DESKTOP-C2BQPQU>
Date: 星期三, 03 九月 2025 15:51:47 +0800
Subject: [PATCH] 其他入库修改存储过程名称
---
util/LogUtil.cs | 38 +++++++++++++++++++++++++++++++++++++-
1 files changed, 37 insertions(+), 1 deletions(-)
diff --git a/util/LogUtil.cs b/util/LogUtil.cs
index e91a9bc..8c88150 100644
--- a/util/LogUtil.cs
+++ b/util/LogUtil.cs
@@ -1,10 +1,11 @@
锘縩amespace NewPdaSqlServer.util
{
+ using NewPdaSqlServer.DB;
using NewPdaSqlServer.entity;
using SqlSugar;
using System;
- public class LogService
+ public class LogService : RepositoryNoEntity
{
/// <summary>
/// 鍒涘缓鏃ュ織璁板綍
@@ -36,5 +37,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