2024-05-23 修改生成试卷时返回指定数量题目

This commit is contained in:
2024-05-23 17:25:27 +08:00
parent 311027831d
commit 87c7ae51cb
10 changed files with 387 additions and 9 deletions
+17 -1
View File
@@ -360,7 +360,23 @@ namespace BLL
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>
/// <param name="fileName">文件名</param>