数据库变更CNPC_XJYJ
This commit is contained in:
@@ -10,7 +10,7 @@ namespace BLL
|
||||
/// </summary>
|
||||
public static class ThisWeekOrMonthContentService
|
||||
{
|
||||
public static Model.SGGLDB db = Funs.DB;
|
||||
public static Model.CNPCDB db = Funs.DB;
|
||||
|
||||
/// <summary>
|
||||
/// 根据主键获取本周主要工作内容
|
||||
@@ -38,7 +38,7 @@ namespace BLL
|
||||
/// <param name="thisWeekOrMonthContent"></param>
|
||||
public static void AddThisWeekOrMonthContent(Model.Report_ThisWeekOrMonthContent thisWeekOrMonthContent)
|
||||
{
|
||||
Model.SGGLDB db = Funs.DB;
|
||||
Model.CNPCDB db = Funs.DB;
|
||||
Model.Report_ThisWeekOrMonthContent newThisWeekOrMonthContent = new Model.Report_ThisWeekOrMonthContent();
|
||||
newThisWeekOrMonthContent.ContentId = thisWeekOrMonthContent.ContentId;
|
||||
newThisWeekOrMonthContent.ReportId = thisWeekOrMonthContent.ReportId;
|
||||
@@ -53,7 +53,7 @@ namespace BLL
|
||||
/// <param name="reportId"></param>
|
||||
public static void DeleteThisWeekOrMonthContentByReportId(string reportId)
|
||||
{
|
||||
Model.SGGLDB db = Funs.DB;
|
||||
Model.CNPCDB db = Funs.DB;
|
||||
var q = (from x in db.Report_ThisWeekOrMonthContent where x.ReportId == reportId select x).ToList();
|
||||
if (q.Count() > 0)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user