数据库变更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
@@ -10,7 +10,7 @@ namespace BLL
/// </summary>
public static class ProjectSafetyQuarterlyReportService
{
public static Model.SGGLDB db = Funs.DB;
public static Model.CNPCDB db = Funs.DB;
/// <summary>
/// 根据主键获取安全生产数据季报
@@ -28,7 +28,7 @@ namespace BLL
/// <param name="safetyQuarterlyReport"></param>
public static void AddSafetyQuarterlyReport(Model.InformationProject_SafetyQuarterlyReport safetyQuarterlyReport)
{
Model.SGGLDB db = Funs.DB;
Model.CNPCDB db = Funs.DB;
Model.InformationProject_SafetyQuarterlyReport newSafetyQuarterlyReport = new Model.InformationProject_SafetyQuarterlyReport
{
SafetyQuarterlyReportId = safetyQuarterlyReport.SafetyQuarterlyReportId,
@@ -124,7 +124,7 @@ namespace BLL
/// <param name="safetyQuarterlyReport"></param>
public static void UpdateSafetyQuarterlyReport(Model.InformationProject_SafetyQuarterlyReport safetyQuarterlyReport)
{
Model.SGGLDB db = Funs.DB;
Model.CNPCDB db = Funs.DB;
Model.InformationProject_SafetyQuarterlyReport newSafetyQuarterlyReport = db.InformationProject_SafetyQuarterlyReport.FirstOrDefault(e => e.SafetyQuarterlyReportId == safetyQuarterlyReport.SafetyQuarterlyReportId);
if (newSafetyQuarterlyReport != null)
{
@@ -218,7 +218,7 @@ namespace BLL
/// <param name="safetyQuarterlyReportId"></param>
public static void DeleteSafetyQuarterlyReportById(string safetyQuarterlyReportId)
{
Model.SGGLDB db = Funs.DB;
Model.CNPCDB db = Funs.DB;
Model.InformationProject_SafetyQuarterlyReport safetyQuarterlyReport = db.InformationProject_SafetyQuarterlyReport.FirstOrDefault(e => e.SafetyQuarterlyReportId == safetyQuarterlyReportId);
if (safetyQuarterlyReport != null)
{