数据库变更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 AttendMeetingService
{
public static Model.SGGLDB db = Funs.DB;
public static Model.CNPCDB db = Funs.DB;
/// <summary>
/// 根据主键获取其他会议记录
@@ -52,7 +52,7 @@ namespace BLL
/// <param name="attendMeeting"></param>
public static void AddAttendMeeting(Model.Meeting_AttendMeeting attendMeeting)
{
Model.SGGLDB db = Funs.DB;
Model.CNPCDB db = Funs.DB;
Model.Meeting_AttendMeeting newAttendMeeting = new Model.Meeting_AttendMeeting
{
AttendMeetingId = attendMeeting.AttendMeetingId,
@@ -86,7 +86,7 @@ namespace BLL
/// <param name="attendMeeting"></param>
public static void UpdateAttendMeeting(Model.Meeting_AttendMeeting attendMeeting)
{
Model.SGGLDB db = Funs.DB;
Model.CNPCDB db = Funs.DB;
Model.Meeting_AttendMeeting newAttendMeeting = db.Meeting_AttendMeeting.FirstOrDefault(e => e.AttendMeetingId == attendMeeting.AttendMeetingId);
if (newAttendMeeting != null)
{
@@ -117,7 +117,7 @@ namespace BLL
/// <param name="attendMeetingId"></param>
public static void DeleteAttendMeetingById(string attendMeetingId)
{
Model.SGGLDB db = Funs.DB;
Model.CNPCDB db = Funs.DB;
Model.Meeting_AttendMeeting attendMeeting = db.Meeting_AttendMeeting.FirstOrDefault(e => e.AttendMeetingId == attendMeetingId);
if (attendMeeting != null)
{