数据库变更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 ThisWeekOrMonthContentService
{
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 AddThisWeekOrMonthContent(Model.Report_ThisWeekOrMonthContent thisWeekOrMonthContent)
{
Model.SGGLDB db = Funs.DB;
Model.CNPCDB db = Funs.DB;
Model.Report_ThisWeekOrMonthContent newThisWeekOrMonthContent = new Model.Report_ThisWeekOrMonthContent();
newThisWeekOrMonthContent.ContentId = thisWeekOrMonthContent.ContentId;
newThisWeekOrMonthContent.ReportId = thisWeekOrMonthContent.ReportId;
@@ -53,7 +53,7 @@ namespace BLL
/// <param name="reportId"></param>
public static void DeleteThisWeekOrMonthContentByReportId(string reportId)
{
Model.SGGLDB db = Funs.DB;
Model.CNPCDB db = Funs.DB;
var q = (from x in db.Report_ThisWeekOrMonthContent where x.ReportId == reportId select x).ToList();
if (q.Count() > 0)
{