Commit 4fe9ccef authored by suhuiguang's avatar suhuiguang

1.1.统计服务合并,接口api整理

parent 784d591d
......@@ -1416,9 +1416,6 @@ public class JGDPStatisticsServiceImpl {
DPFilterParamDto filterParamDto = new DPFilterParamDto();
filterParamDto.setCityCode(r.getRegionCode().toString());
Map<String, Object> itemResult = staticsCenterMapCountDataForRegin(filterParamDto);
if (itemResult == null) {
itemResult = new HashMap<>();
}
itemResult.put(REGION_CODE, r.getRegionCode());
itemResult.put(REGION_NAME, r.getRegionName());
return itemResult;
......@@ -1433,8 +1430,8 @@ public class JGDPStatisticsServiceImpl {
if (orgCode == null) {
orgCode = getAndSetOrgCode(dpFilterParamDto.getCityCode());
if (orgCode == null) {
result.put(DPMapStatisticsItemEnum.DEVICE_COUNT.getCode(), 0);
result.put(DPMapStatisticsItemEnum.CERTIFICATE_COUNT.getCode(), 0);
result.put(DPMapStatisticsItemEnum.DEVICE_COUNT.getCode(), 0L);
result.put(DPMapStatisticsItemEnum.CERTIFICATE_COUNT.getCode(), 0L);
return result;
}
regionCodeOrgCodeMap.put(dpFilterParamDto.getCityCode(), orgCode);
......
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