数据库变更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
@@ -7,7 +7,7 @@ namespace BLL
{
public static class EmergencyPlanCService
{
private static Model.SGGLDB db = Funs.DB;
private static Model.CNPCDB db = Funs.DB;
/// <summary>
/// 根据月报Id获取应急预案修编
@@ -25,7 +25,7 @@ namespace BLL
/// <param name="plan"></param>
public static void AddEmergencyPlan(Model.Manager_Month_EmergencyPlanC plan)
{
Model.SGGLDB db = Funs.DB;
Model.CNPCDB db = Funs.DB;
Model.Manager_Month_EmergencyPlanC newPlan = new Model.Manager_Month_EmergencyPlanC
{
EmergencyPlanId = SQLHelper.GetNewID(typeof(Model.Manager_Month_EmergencyPlanC)),
@@ -46,7 +46,7 @@ namespace BLL
/// <param name="monthReportId"></param>
public static void DeleteEmergencyPlanByMonthReportId(string monthReportId)
{
Model.SGGLDB db = Funs.DB;
Model.CNPCDB db = Funs.DB;
var q = (from x in db.Manager_Month_EmergencyPlanC where x.MonthReportId == monthReportId select x).ToList();
if (q != null)
{