数据库变更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
+3 -3
View File
@@ -26,7 +26,7 @@ namespace BLL
/// <param name="rectifyNotice"></param>
public static void AddRectifyNotices(Model.Check_RectifyNotices rectifyNotice)
{
Model.SGGLDB db = Funs.DB;
Model.CNPCDB db = Funs.DB;
Model.Check_RectifyNotices newRectifyNotices = new Model.Check_RectifyNotices
{
RectifyNoticesId = rectifyNotice.RectifyNoticesId,
@@ -74,7 +74,7 @@ namespace BLL
/// <param name="rectifyNotices"></param>
public static void UpdateRectifyNotices(Model.Check_RectifyNotices rectifyNotices)
{
Model.SGGLDB db = Funs.DB;
Model.CNPCDB db = Funs.DB;
Model.Check_RectifyNotices newRectifyNotices = db.Check_RectifyNotices.FirstOrDefault(e => e.RectifyNoticesId == rectifyNotices.RectifyNoticesId);
if (newRectifyNotices != null)
{
@@ -118,7 +118,7 @@ namespace BLL
/// <param name="rectifyNoticesId"></param>
public static void DeleteRectifyNoticesById(string rectifyNoticesId)
{
Model.SGGLDB db = Funs.DB;
Model.CNPCDB db = Funs.DB;
Model.Check_RectifyNotices rectifyNotices = db.Check_RectifyNotices.FirstOrDefault(e => e.RectifyNoticesId == rectifyNoticesId);
if (rectifyNotices != null)
{