死亡人数
parent
d39cf3da87
commit
25752ec5ef
|
@ -72,6 +72,7 @@ public class AccidentRecordsServiceImpl implements AccidentRecordsService {
|
||||||
accidentRecords.setIncidentType(pageData.getString("incidentType"));
|
accidentRecords.setIncidentType(pageData.getString("incidentType"));
|
||||||
accidentRecords.setIncidentLevel(pageData.getString("incidentLevel"));
|
accidentRecords.setIncidentLevel(pageData.getString("incidentLevel"));
|
||||||
accidentRecords.setLocation(pageData.getString("location"));
|
accidentRecords.setLocation(pageData.getString("location"));
|
||||||
|
accidentRecords.setFatalities(Convert.toInt(pageData.get("fatalities")));
|
||||||
|
|
||||||
DateTime time = DateUtil.parse(pageData.getString("incidentDate"), "yyyy-MM-dd HH:mm:ss");
|
DateTime time = DateUtil.parse(pageData.getString("incidentDate"), "yyyy-MM-dd HH:mm:ss");
|
||||||
accidentRecords.setIncidentDate(time);
|
accidentRecords.setIncidentDate(time);
|
||||||
|
@ -101,6 +102,7 @@ public class AccidentRecordsServiceImpl implements AccidentRecordsService {
|
||||||
accidentRecords.setIncidentType(pageData.getString("incidentType"));
|
accidentRecords.setIncidentType(pageData.getString("incidentType"));
|
||||||
accidentRecords.setIncidentLevel(pageData.getString("incidentLevel"));
|
accidentRecords.setIncidentLevel(pageData.getString("incidentLevel"));
|
||||||
accidentRecords.setLocation(pageData.getString("location"));
|
accidentRecords.setLocation(pageData.getString("location"));
|
||||||
|
accidentRecords.setFatalities(Convert.toInt(pageData.get("fatalities")));
|
||||||
|
|
||||||
DateTime time = DateUtil.parse(pageData.getString("incidentDate"), "yyyy-MM-dd HH:mm:ss");
|
DateTime time = DateUtil.parse(pageData.getString("incidentDate"), "yyyy-MM-dd HH:mm:ss");
|
||||||
accidentRecords.setIncidentDate(time);
|
accidentRecords.setIncidentDate(time);
|
||||||
|
|
Loading…
Reference in New Issue