扫码填报日报修改

This commit is contained in:
2024-12-02 17:51:43 +08:00
parent 871b95771a
commit f094390835
6 changed files with 42 additions and 13 deletions
+17
View File
@@ -327,6 +327,23 @@
db.SubmitChanges();
}
}
public static void SaveSysHttpLog(string userName, string httpUrl, string logTxt, string method)
{
using (Model.SGGLDB db = new Model.SGGLDB(Funs.ConnString))
{
Model.Sys_HttpLog newLog = new Model.Sys_HttpLog()
{
HttpLogId = SQLHelper.GetNewID(),
LogTime = DateTime.Now,
UserName = userName,
HttpUrl = httpUrl,
LogTxt = logTxt,
MeThod = method
};
db.Sys_HttpLog.InsertOnSubmit(newLog);
db.SubmitChanges();
}
}
/// <summary>