数据库变更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
@@ -172,7 +172,7 @@ namespace BLL
/// <param name="monthReport">月报告实体</param>
public static void AddMonthReport(Model.Manager_MonthReportC monthReport)
{
Model.SGGLDB db = Funs.DB;
Model.CNPCDB db = Funs.DB;
Model.Manager_MonthReportC newMonthReport = new Model.Manager_MonthReportC
{
MonthReportId = monthReport.MonthReportId,
@@ -240,7 +240,7 @@ namespace BLL
/// <param name="monthReport">月报告实体</param>
public static void UpdateMonthReport(Model.Manager_MonthReportC monthReport)
{
Model.SGGLDB db = Funs.DB;
Model.CNPCDB db = Funs.DB;
Model.Manager_MonthReportC newMonthReport = db.Manager_MonthReportC.First(e => e.MonthReportId == monthReport.MonthReportId);
newMonthReport.MonthReportCode = monthReport.MonthReportCode;
newMonthReport.ProjectId = monthReport.ProjectId;
@@ -305,7 +305,7 @@ namespace BLL
/// <param name="monthReportId">月报告主键</param>
public static void DeleteMonthReportByMonthReportId(string monthReportId)
{
Model.SGGLDB db = Funs.DB;
Model.CNPCDB db = Funs.DB;
Model.Manager_MonthReportC monthReport = db.Manager_MonthReportC.First(e => e.MonthReportId == monthReportId);
///删除编码表记录
BLL.CodeRecordsService.DeleteCodeRecordsByDataId(monthReportId);