数据库变更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 ComprehensiveService
{
public static Model.SGGLDB db = Funs.DB;
public static Model.CNPCDB db = Funs.DB;
/// <summary>
/// 根据主键获取本周(月)报综合信息
@@ -38,7 +38,7 @@ namespace BLL
/// <param name="thisWeekOrMonthContent"></param>
public static void AddComprehensive(Model.Report_Comprehensive comprehensive)
{
Model.SGGLDB db = Funs.DB;
Model.CNPCDB db = Funs.DB;
Model.Report_Comprehensive newComprehensive = new Model.Report_Comprehensive();
newComprehensive.ComprehensiveId = comprehensive.ComprehensiveId;
newComprehensive.ReportId = comprehensive.ReportId;
@@ -55,7 +55,7 @@ namespace BLL
/// <param name="reportId"></param>
public static void DeleteComprehensiveByReportId(string reportId)
{
Model.SGGLDB db = Funs.DB;
Model.CNPCDB db = Funs.DB;
var q = (from x in db.Report_Comprehensive where x.ReportId == reportId select x).ToList();
if (q.Count() > 0)
{