数据库变更CNPC_XJYJ
This commit is contained in:
@@ -8,7 +8,7 @@ namespace BLL
|
||||
{
|
||||
public static class CostInvestmentPlanCService
|
||||
{
|
||||
private static Model.SGGLDB db = Funs.DB;
|
||||
private static Model.CNPCDB db = Funs.DB;
|
||||
|
||||
/// <summary>
|
||||
/// 根据月报Id获取HSE费用投入计划
|
||||
@@ -26,7 +26,7 @@ namespace BLL
|
||||
/// <param name="plan"></param>
|
||||
public static void AddCostInvestmentPlan(Model.Manager_Month_CostInvestmentPlanC plan)
|
||||
{
|
||||
Model.SGGLDB db = Funs.DB;
|
||||
Model.CNPCDB db = Funs.DB;
|
||||
Model.Manager_Month_CostInvestmentPlanC newP = new Model.Manager_Month_CostInvestmentPlanC
|
||||
{
|
||||
CostInvestmentPlanId = SQLHelper.GetNewID(typeof(Model.Manager_Month_CostInvestmentPlanC)),
|
||||
@@ -46,7 +46,7 @@ namespace BLL
|
||||
/// <param name="monthReportId"></param>
|
||||
public static void DeleteCostInvestmentPlanByMonthReportId(string monthReportId)
|
||||
{
|
||||
Model.SGGLDB db = Funs.DB;
|
||||
Model.CNPCDB db = Funs.DB;
|
||||
var q = (from x in db.Manager_Month_CostInvestmentPlanC where x.MonthReportId == monthReportId select x).ToList();
|
||||
if (q != null)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user