增加数据穿透界面
This commit is contained in:
@@ -387,6 +387,7 @@ namespace BLL
|
||||
NotConfirmWorkingHoursLoss = accidentReport.NotConfirmWorkingHoursLoss,
|
||||
NotConfirmEconomicLoss = accidentReport.NotConfirmEconomicLoss,
|
||||
NotConfirmEconomicOtherLoss = accidentReport.NotConfirmEconomicOtherLoss,
|
||||
AccidentDegree = accidentReport.AccidentDegree,
|
||||
NotConfirmed = accidentReport.NotConfirmed
|
||||
};
|
||||
db.Accident_AccidentReport.InsertOnSubmit(newAccidentReport);
|
||||
@@ -430,6 +431,7 @@ namespace BLL
|
||||
newAccidentReport.IsNotConfirm = accidentReport.IsNotConfirm;
|
||||
newAccidentReport.NotConfirmWorkingHoursLoss = accidentReport.NotConfirmWorkingHoursLoss;
|
||||
newAccidentReport.NotConfirmEconomicLoss = accidentReport.NotConfirmEconomicLoss;
|
||||
newAccidentReport.AccidentDegree = accidentReport.AccidentDegree;
|
||||
newAccidentReport.NotConfirmEconomicOtherLoss = accidentReport.NotConfirmEconomicOtherLoss;
|
||||
db.SubmitChanges();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user