数据库变更CNPC_XJYJ

This commit is contained in:
2025-08-04 18:04:41 +08:00
parent bafbf97359
commit 79a7f35e22
679 changed files with 5590 additions and 3465 deletions
+3 -3
View File
@@ -7,7 +7,7 @@ namespace BLL
public static class LogService
{
public static Model.SGGLDB db = Funs.DB;
public static Model.CNPCDB db = Funs.DB;
/// <summary>
/// 添加操作日志
@@ -19,7 +19,7 @@ namespace BLL
/// <param name="strOperationName">操作名称</param>
public static void AddSys_Log(Model.Sys_User CurrUser, string code, string dataId, string strMenuId, string strOperationName)
{
using (Model.SGGLDB db = new Model.SGGLDB(Funs.ConnString))
using (Model.CNPCDB db = new Model.CNPCDB(Funs.ConnString))
{
if (CurrUser != null)
{
@@ -111,7 +111,7 @@ namespace BLL
/// <param name="projectId"></param>
public static void DeleteLog(string projectId)
{
Model.SGGLDB db = Funs.DB;
Model.CNPCDB db = Funs.DB;
var q = (from x in db.Sys_Log where x.ProjectId == projectId select x).ToList();
if (q != null)
{