修改hsse安全月报
This commit is contained in:
@@ -234,7 +234,14 @@ namespace BLL
|
||||
|
||||
EmergencyManagementWorkDef=monthReport.EmergencyManagementWorkDef,
|
||||
MonthHdangerCount=monthReport.MonthHdangerCount,
|
||||
YearHdangerCount=monthReport.YearHdangerCount
|
||||
YearHdangerCount=monthReport.YearHdangerCount,
|
||||
|
||||
MonthExpertCount=monthReport.MonthExpertCount,
|
||||
MonthExpertNoCount=monthReport.MonthExpertNoCount,
|
||||
Goalach1=monthReport.Goalach1,
|
||||
Goalach2=monthReport.Goalach2,
|
||||
Goalach3=monthReport.Goalach3,
|
||||
MonthReportType=monthReport.MonthReportType
|
||||
};
|
||||
|
||||
db.Manager_MonthReportC.InsertOnSubmit(newMonthReport);
|
||||
@@ -313,6 +320,12 @@ namespace BLL
|
||||
newMonthReport.EmergencyManagementWorkDef = monthReport.EmergencyManagementWorkDef;
|
||||
newMonthReport.MonthHdangerCount = monthReport.MonthHdangerCount;
|
||||
newMonthReport.YearHdangerCount = monthReport.YearHdangerCount;
|
||||
newMonthReport.MonthExpertCount = monthReport.MonthExpertCount;
|
||||
newMonthReport.MonthExpertNoCount = monthReport.MonthExpertNoCount;
|
||||
newMonthReport.Goalach1 = monthReport.Goalach1;
|
||||
newMonthReport.Goalach2 = monthReport.Goalach2;
|
||||
newMonthReport.Goalach3 = monthReport.Goalach3;
|
||||
newMonthReport.MonthReportType = monthReport.MonthReportType;
|
||||
db.SubmitChanges();
|
||||
}
|
||||
|
||||
@@ -330,5 +343,31 @@ namespace BLL
|
||||
db.Manager_MonthReportC.DeleteOnSubmit(monthReport);
|
||||
db.SubmitChanges();
|
||||
}
|
||||
|
||||
#region 保存4.6.1应急预案发布情况
|
||||
public static void AddManager_EmergencyPlan(Model.Manager_EmergencyPlan model) {
|
||||
Model.SGGLDB db = Funs.DB;
|
||||
db.Manager_EmergencyPlan.InsertOnSubmit(model);
|
||||
db.SubmitChanges();
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region 保存4.6.2 应急演练工作情况说明
|
||||
public static void AddManager_DrillRecordList(Model.Manager_DrillRecordList model)
|
||||
{
|
||||
Model.SGGLDB db = Funs.DB;
|
||||
db.Manager_DrillRecordList.InsertOnSubmit(model);
|
||||
db.SubmitChanges();
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region 保存6.1 未遂事件统计
|
||||
public static void AddManager_Attempted(Model.Manager_Attempted model)
|
||||
{
|
||||
Model.SGGLDB db = Funs.DB;
|
||||
db.Manager_Attempted.InsertOnSubmit(model);
|
||||
db.SubmitChanges();
|
||||
}
|
||||
#endregion
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user