Commit c9a4efb2 authored by suhuiguang's avatar suhuiguang

Merge branch 'develop_tzs_bugfix' into develop_tzs_register

parents e827a8c9 58393186
...@@ -644,7 +644,10 @@ public class ZLDPStatisticsServiceImpl { ...@@ -644,7 +644,10 @@ public class ZLDPStatisticsServiceImpl {
DPFilterParamDto filterParamDto = new DPFilterParamDto(); DPFilterParamDto filterParamDto = new DPFilterParamDto();
filterParamDto.setBeginDate(startDate.format(DateTimeFormatter.ofPattern("yyyy-MM-dd"))); filterParamDto.setBeginDate(startDate.format(DateTimeFormatter.ofPattern("yyyy-MM-dd")));
filterParamDto.setEndDate(endDate.format(DateTimeFormatter.ofPattern("yyyy-MM-dd"))); filterParamDto.setEndDate(endDate.format(DateTimeFormatter.ofPattern("yyyy-MM-dd")));
Long rescuedPersonNum = alertStatisticsMapper.countRescuedPersonNum(orgCode, filterParamDto); Long rescuedPersonNum = 0L;
if(null != orgCode) {
rescuedPersonNum = alertStatisticsMapper.countRescuedPersonNum(orgCode, filterParamDto);
}
jsonObject3.put("key", "jjbkck"); jsonObject3.put("key", "jjbkck");
jsonObject3.put("value", ValidationUtil.isEmpty(rescuedPersonNum) ? 0 : rescuedPersonNum); jsonObject3.put("value", ValidationUtil.isEmpty(rescuedPersonNum) ? 0 : rescuedPersonNum);
jsonObject3.put("name", "解救被困乘客"); jsonObject3.put("name", "解救被困乘客");
......
...@@ -74,7 +74,7 @@ ...@@ -74,7 +74,7 @@
}, },
{ {
"key": "gd", "key": "gd",
"displayName": "个规定", "displayName": "个规定",
"renderType": "basic", "renderType": "basic",
"useAloneApi": true, "useAloneApi": true,
"dataConfig": { "dataConfig": {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment