增加hse安全月报,功能尚未完善
This commit is contained in:
@@ -227,6 +227,10 @@ namespace BLL
|
||||
Question = monthReport.Question,
|
||||
SubcontractManHours = monthReport.SubcontractManHours,
|
||||
AccidentDef = monthReport.AccidentDef,
|
||||
|
||||
StartDate=monthReport.StartDate,
|
||||
EndDate=monthReport.EndDate,
|
||||
TotalHseManhoursYear = monthReport.TotalHseManhoursYear
|
||||
};
|
||||
|
||||
db.Manager_MonthReportC.InsertOnSubmit(newMonthReport);
|
||||
@@ -245,7 +249,7 @@ namespace BLL
|
||||
Model.Manager_MonthReportC newMonthReport = db.Manager_MonthReportC.First(e => e.MonthReportId == monthReport.MonthReportId);
|
||||
newMonthReport.MonthReportCode = monthReport.MonthReportCode;
|
||||
newMonthReport.ProjectId = monthReport.ProjectId;
|
||||
newMonthReport.Months = monthReport.Months;
|
||||
//newMonthReport.Months = monthReport.Months;
|
||||
newMonthReport.MonthReportDate = monthReport.MonthReportDate;
|
||||
newMonthReport.ReportMan = monthReport.ReportMan;
|
||||
newMonthReport.HseManhours = monthReport.HseManhours;
|
||||
@@ -298,6 +302,9 @@ namespace BLL
|
||||
newMonthReport.SubcontractManHours = monthReport.SubcontractManHours;
|
||||
newMonthReport.AccidentDef = monthReport.AccidentDef;
|
||||
|
||||
newMonthReport.StartDate = monthReport.StartDate;
|
||||
newMonthReport.EndDate = monthReport.EndDate;
|
||||
newMonthReport.TotalHseManhoursYear = monthReport.TotalHseManhoursYear;
|
||||
db.SubmitChanges();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user