数据库变更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
@@ -11,7 +11,7 @@ namespace BLL
public static class EnergyReportService
{
public static Model.SGGLDB db = Funs.DB;
public static Model.CNPCDB db = Funs.DB;
#region
@@ -142,7 +142,7 @@ namespace BLL
}
public static void DeleteEnvironmental_EnergyReportById(string EnergyReportId)
{
Model.SGGLDB db = Funs.DB;
Model.CNPCDB db = Funs.DB;
Model.Environmental_EnergyReport table = db.Environmental_EnergyReport.FirstOrDefault(x => x.EnergyReportId == EnergyReportId);
if (table != null)
{
@@ -11,7 +11,7 @@ namespace BLL
public static class EnergyreportItemService
{
public static Model.SGGLDB db = Funs.DB;
public static Model.CNPCDB db = Funs.DB;
#region
@@ -269,7 +269,7 @@ namespace BLL
}
public static void DeleteEnergyReportItemByChemicalReportId(string EnergyReportId)
{
Model.SGGLDB db = Funs.DB;
Model.CNPCDB db = Funs.DB;
var q = from x in Funs.DB.Environmental_EnergyReportItem where x.EnergyReportId == EnergyReportId select x;
if (q != null)
{
@@ -12,7 +12,7 @@ namespace BLL
public static class ProjectEnergyReportService
{
public static Model.SGGLDB db = Funs.DB;
public static Model.CNPCDB db = Funs.DB;
#region
@@ -11,7 +11,7 @@ namespace BLL
public static class ProjectEnergyreportItemService
{
public static Model.SGGLDB db = Funs.DB;
public static Model.CNPCDB db = Funs.DB;
#region