数据库变更CNPC_XJYJ
This commit is contained in:
@@ -53,7 +53,7 @@ namespace FineUIPro.Web.HSSE.Manager
|
||||
{
|
||||
this.MonthReportId = monthReport.MonthReportId;
|
||||
this.ProjectId = monthReport.ProjectId;
|
||||
Model.SGGLDB db = Funs.DB;
|
||||
Model.CNPCDB db = Funs.DB;
|
||||
var q = from x in db.Manager_PersonSortC
|
||||
where x.MonthReportId == MonthReportId
|
||||
select x;
|
||||
|
||||
@@ -163,7 +163,7 @@ namespace FineUIPro.Web.HSSE.Manager
|
||||
this.MonthReportId = monthReport.MonthReportId;
|
||||
this.ProjectId = monthReport.ProjectId;
|
||||
months = Convert.ToDateTime(monthReport.Months);
|
||||
Model.SGGLDB db = Funs.DB;
|
||||
Model.CNPCDB db = Funs.DB;
|
||||
this.txtMainActivitiesDef.Text = monthReport.MainActivitiesDef;
|
||||
//危险源情况
|
||||
hazardSorts = (from x in db.Manager_HazardSortC where x.MonthReportId == MonthReportId orderby x.SortIndex select x).ToList();
|
||||
|
||||
@@ -96,7 +96,7 @@ namespace FineUIPro.Web.HSSE.Manager
|
||||
this.MonthReportId = monthReport.MonthReportId;
|
||||
this.ProjectId = monthReport.ProjectId;
|
||||
months = Convert.ToDateTime(monthReport.Months);
|
||||
Model.SGGLDB db = Funs.DB;
|
||||
Model.CNPCDB db = Funs.DB;
|
||||
//5.1.2 本月文件、方案修编情况说明
|
||||
plans = (from x in db.Manager_Month_PlanC where x.MonthReportId == MonthReportId orderby x.SortIndex select x).ToList();
|
||||
if (plans.Count > 0)
|
||||
|
||||
@@ -90,7 +90,7 @@ namespace FineUIPro.Web.HSSE.Manager
|
||||
this.MonthReportId = monthReport.MonthReportId;
|
||||
this.ProjectId = monthReport.ProjectId;
|
||||
months = Convert.ToDateTime(monthReport.Months);
|
||||
Model.SGGLDB db = Funs.DB;
|
||||
Model.CNPCDB db = Funs.DB;
|
||||
this.nbMainCost1.Text = (monthReport.MainCost1 ?? 0).ToString();
|
||||
this.nbMainProjectCost1.Text = (monthReport.MainProjectCost1 ?? 0).ToString();
|
||||
this.nbSubCost1.Text = (monthReport.SubCost1 ?? 0).ToString();
|
||||
|
||||
@@ -90,7 +90,7 @@ namespace FineUIPro.Web.HSSE.Manager
|
||||
this.MonthReportId = monthReport.MonthReportId;
|
||||
this.ProjectId = monthReport.ProjectId;
|
||||
months = Convert.ToDateTime(monthReport.Months);
|
||||
Model.SGGLDB db = Funs.DB;
|
||||
Model.CNPCDB db = Funs.DB;
|
||||
//7.1 管理绩效数据统计(表一)
|
||||
accidentDesciptions = (from x in db.Manager_Month_AccidentDesciptionC where x.MonthReportId == MonthReportId orderby x.SortIndex select x).ToList();
|
||||
if (accidentDesciptions.Count > 0)
|
||||
|
||||
@@ -139,7 +139,7 @@ namespace FineUIPro.Web.HSSE.Manager
|
||||
this.ProjectId = monthReport.ProjectId;
|
||||
months = Convert.ToDateTime(monthReport.Months);
|
||||
this.txtNextEmergencyResponse.Text = monthReport.NextEmergencyResponse;
|
||||
Model.SGGLDB db = Funs.DB;
|
||||
Model.CNPCDB db = Funs.DB;
|
||||
//9.1 危险源动态识别及控制
|
||||
hazards = (from x in db.Manager_Month_HazardC where x.MonthReportId == MonthReportId orderby x.SortIndex select x).ToList();
|
||||
if (hazards.Count > 0)
|
||||
|
||||
@@ -99,7 +99,7 @@ namespace FineUIPro.Web.HSSE.Manager
|
||||
{
|
||||
this.lblEndDate.Text = string.Format("{0:yyyy-MM-dd}", project.EndDate);
|
||||
}
|
||||
Model.SGGLDB db = Funs.DB;
|
||||
Model.CNPCDB db = Funs.DB;
|
||||
var q = from x in db.Manager_PersonSortC
|
||||
where x.MonthReportId == MonthReportId
|
||||
select x;
|
||||
|
||||
@@ -55,7 +55,7 @@ namespace FineUIPro.Web.HSSE.Manager
|
||||
{
|
||||
this.MonthReportId = monthReport.MonthReportId;
|
||||
this.ProjectId = monthReport.ProjectId;
|
||||
Model.SGGLDB db = Funs.DB;
|
||||
Model.CNPCDB db = Funs.DB;
|
||||
var q = from x in db.Manager_PersonSortC
|
||||
where x.MonthReportId == MonthReportId
|
||||
select x;
|
||||
|
||||
@@ -162,7 +162,7 @@ namespace FineUIPro.Web.HSSE.Manager
|
||||
this.MonthReportId = monthReport.MonthReportId;
|
||||
this.ProjectId = monthReport.ProjectId;
|
||||
months = Convert.ToDateTime(monthReport.Months);
|
||||
Model.SGGLDB db = Funs.DB;
|
||||
Model.CNPCDB db = Funs.DB;
|
||||
this.txtMainActivitiesDef.Text = monthReport.MainActivitiesDef;
|
||||
//危险源情况
|
||||
hazardSorts = (from x in db.Manager_HazardSortC where x.MonthReportId == MonthReportId orderby x.SortIndex select x).ToList();
|
||||
|
||||
@@ -95,7 +95,7 @@ namespace FineUIPro.Web.HSSE.Manager
|
||||
this.MonthReportId = monthReport.MonthReportId;
|
||||
this.ProjectId = monthReport.ProjectId;
|
||||
months = Convert.ToDateTime(monthReport.Months);
|
||||
Model.SGGLDB db = Funs.DB;
|
||||
Model.CNPCDB db = Funs.DB;
|
||||
//5.1.2 本月文件、方案修编情况说明
|
||||
plans = (from x in db.Manager_Month_PlanC where x.MonthReportId == MonthReportId orderby x.SortIndex select x).ToList();
|
||||
if (plans.Count > 0)
|
||||
|
||||
@@ -89,7 +89,7 @@ namespace FineUIPro.Web.HSSE.Manager
|
||||
this.MonthReportId = monthReport.MonthReportId;
|
||||
this.ProjectId = monthReport.ProjectId;
|
||||
months = Convert.ToDateTime(monthReport.Months);
|
||||
Model.SGGLDB db = Funs.DB;
|
||||
Model.CNPCDB db = Funs.DB;
|
||||
this.nbMainCost1.Text = (monthReport.MainCost1 ?? 0).ToString();
|
||||
this.nbMainProjectCost1.Text = (monthReport.MainProjectCost1 ?? 0).ToString();
|
||||
this.nbSubCost1.Text = (monthReport.SubCost1 ?? 0).ToString();
|
||||
|
||||
@@ -89,7 +89,7 @@ namespace FineUIPro.Web.HSSE.Manager
|
||||
this.MonthReportId = monthReport.MonthReportId;
|
||||
this.ProjectId = monthReport.ProjectId;
|
||||
months = Convert.ToDateTime(monthReport.Months);
|
||||
Model.SGGLDB db = Funs.DB;
|
||||
Model.CNPCDB db = Funs.DB;
|
||||
//7.1 管理绩效数据统计(表一)
|
||||
accidentDesciptions = (from x in db.Manager_Month_AccidentDesciptionC where x.MonthReportId == MonthReportId orderby x.SortIndex select x).ToList();
|
||||
if (accidentDesciptions.Count > 0)
|
||||
|
||||
@@ -128,7 +128,7 @@ namespace FineUIPro.Web.HSSE.Manager
|
||||
this.ProjectId = monthReport.ProjectId;
|
||||
months = Convert.ToDateTime(monthReport.Months);
|
||||
this.txtNextEmergencyResponse.Text = monthReport.NextEmergencyResponse;
|
||||
Model.SGGLDB db = Funs.DB;
|
||||
Model.CNPCDB db = Funs.DB;
|
||||
//9.1 危险源动态识别及控制
|
||||
hazards = (from x in db.Manager_Month_HazardC where x.MonthReportId == MonthReportId orderby x.SortIndex select x).ToList();
|
||||
if (hazards.Count > 0)
|
||||
|
||||
Reference in New Issue
Block a user