数据库变更CNPC_XJYJ
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user