死亡人数

hyx_2024-10-12_xgfPerson
shanao 2024-09-14 22:11:16 +08:00
parent d39cf3da87
commit 25752ec5ef
1 changed files with 2 additions and 0 deletions

View File

@ -72,6 +72,7 @@ public class AccidentRecordsServiceImpl implements AccidentRecordsService {
accidentRecords.setIncidentType(pageData.getString("incidentType"));
accidentRecords.setIncidentLevel(pageData.getString("incidentLevel"));
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");
accidentRecords.setIncidentDate(time);
@ -101,6 +102,7 @@ public class AccidentRecordsServiceImpl implements AccidentRecordsService {
accidentRecords.setIncidentType(pageData.getString("incidentType"));
accidentRecords.setIncidentLevel(pageData.getString("incidentLevel"));
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");
accidentRecords.setIncidentDate(time);