数据库变更CNPC_XJYJ
This commit is contained in:
@@ -7,7 +7,7 @@ namespace BLL
|
||||
{
|
||||
public class PlanCService
|
||||
{
|
||||
public static Model.SGGLDB db = Funs.DB;
|
||||
public static Model.CNPCDB db = Funs.DB;
|
||||
|
||||
/// <summary>
|
||||
/// 根据月报Id获取本月文件、方案修编情况说明
|
||||
@@ -25,7 +25,7 @@ namespace BLL
|
||||
/// <param name="newPlan"></param>
|
||||
public static void AddPlan(Model.Manager_Month_PlanC plan)
|
||||
{
|
||||
Model.SGGLDB db = Funs.DB;
|
||||
Model.CNPCDB db = Funs.DB;
|
||||
Model.Manager_Month_PlanC newPlan = new Model.Manager_Month_PlanC
|
||||
{
|
||||
PlanId = SQLHelper.GetNewID(typeof(Model.Manager_Month_PlanC)),
|
||||
@@ -45,7 +45,7 @@ namespace BLL
|
||||
/// <param name="monthReportId"></param>
|
||||
public static void DeletePlanByMonthReportId(string monthReportId)
|
||||
{
|
||||
Model.SGGLDB db = Funs.DB;
|
||||
Model.CNPCDB db = Funs.DB;
|
||||
var q = (from x in db.Manager_Month_PlanC where x.MonthReportId == monthReportId select x).ToList();
|
||||
if (q != null)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user