数据库变更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
+4 -4
View File
@@ -10,7 +10,7 @@ namespace BLL
/// </summary>
public static class NoticeService
{
public static Model.SGGLDB db = Funs.DB;
public static Model.CNPCDB db = Funs.DB;
/// <summary>
/// 根据主键获取通知
@@ -28,7 +28,7 @@ namespace BLL
/// <param name="personQuality">图片实体</param>
public static void AddNotice(Model.InformationProject_Notice Notice)
{
Model.SGGLDB db = Funs.DB;
Model.CNPCDB db = Funs.DB;
Model.InformationProject_Notice newNotice = new Model.InformationProject_Notice
{
NoticeId = Notice.NoticeId,
@@ -70,7 +70,7 @@ namespace BLL
/// <param name="notice"></param>
public static void UpdateNotice(Model.InformationProject_Notice notice)
{
Model.SGGLDB db = Funs.DB;
Model.CNPCDB db = Funs.DB;
Model.InformationProject_Notice newNotice = db.InformationProject_Notice.FirstOrDefault(e => e.NoticeId == notice.NoticeId);
if (newNotice != null)
{
@@ -114,7 +114,7 @@ namespace BLL
/// <param name="noticeId"></param>
public static void DeleteNoticeById(string noticeId)
{
Model.SGGLDB db = Funs.DB;
Model.CNPCDB db = Funs.DB;
Model.InformationProject_Notice Notice = db.InformationProject_Notice.FirstOrDefault(e => e.NoticeId == noticeId);
if (Notice != null)
{