数据库变更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
/// </summary>
public static class CompletionReportService
{
public static Model.SGGLDB db = Funs.DB;
public static Model.CNPCDB db = Funs.DB;
/// <summary>
/// 根据主键获取完工报告
@@ -25,7 +25,7 @@ namespace BLL
/// <param name="completionReport"></param>
public static void AddCompletionReport(Model.Manager_CompletionReport completionReport)
{
Model.SGGLDB db = Funs.DB;
Model.CNPCDB db = Funs.DB;
Model.Manager_CompletionReport newCompletionReport = new Model.Manager_CompletionReport
{
CompletionReportId = completionReport.CompletionReportId,
@@ -49,7 +49,7 @@ namespace BLL
/// <param name="completionReport"></param>
public static void UpdateCompletionReport(Model.Manager_CompletionReport completionReport)
{
Model.SGGLDB db = Funs.DB;
Model.CNPCDB db = Funs.DB;
Model.Manager_CompletionReport newCompletionReport = db.Manager_CompletionReport.FirstOrDefault(e => e.CompletionReportId == completionReport.CompletionReportId);
if (newCompletionReport != null)
{
@@ -70,7 +70,7 @@ namespace BLL
/// <param name="completionReportId"></param>
public static void DeleteCompletionReportById(string completionReportId)
{
Model.SGGLDB db = Funs.DB;
Model.CNPCDB db = Funs.DB;
Model.Manager_CompletionReport completionReport = db.Manager_CompletionReport.FirstOrDefault(e => e.CompletionReportId == completionReportId);
if (completionReport != null)
{