数据库变更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
@@ -12,7 +12,7 @@ namespace BLL
/// </summary>
public static class InspectionManagementService
{
public static Model.SGGLDB db = Funs.DB;
public static Model.CNPCDB db = Funs.DB;
/// <summary>
/// 记录数
@@ -225,7 +225,7 @@ namespace BLL
/// <param name="inspectionManagement"></param>
public static void AddInspectionManagement(Model.ProcessControl_InspectionManagement inspectionManagement)
{
Model.SGGLDB db = Funs.DB;
Model.CNPCDB db = Funs.DB;
Model.ProcessControl_InspectionManagement newInspectionManagement = new Model.ProcessControl_InspectionManagement();
newInspectionManagement.InspectionId = inspectionManagement.InspectionId;
newInspectionManagement.ProjectId = inspectionManagement.ProjectId;
@@ -268,7 +268,7 @@ namespace BLL
/// <param name="inspectionManagement"></param>
public static void UpdateInspectionManagement(Model.ProcessControl_InspectionManagement inspectionManagement)
{
Model.SGGLDB db = Funs.DB;
Model.CNPCDB db = Funs.DB;
Model.ProcessControl_InspectionManagement newInspectionManagement = db.ProcessControl_InspectionManagement.FirstOrDefault(e => e.InspectionId == inspectionManagement.InspectionId);
if (newInspectionManagement != null)
{
@@ -307,7 +307,7 @@ namespace BLL
/// <param name="inspectionId"></param>
public static void DeleteInspectionManagement(string inspectionId)
{
Model.SGGLDB db = Funs.DB;
Model.CNPCDB db = Funs.DB;
Model.ProcessControl_InspectionManagement inspectionManagement = db.ProcessControl_InspectionManagement.FirstOrDefault(e => e.InspectionId == inspectionId);
if (inspectionManagement != null)
{