Commit a0645810 by guojuxing

首页-用户数量占比调整:给默认值

parent c3755f32
......@@ -405,7 +405,7 @@ public class IndexModuleController {
param.setEntId(enterpriseId);
ServiceResponse<List<IndexChannelUserRateDTO>> listServiceResponse = this.memberDataApiService.listChannelData(param);
Map<Long, Integer> map = null;
Map<Long, Integer> map = new HashMap<>();
if (listServiceResponse.isSuccess()) {
List<IndexChannelUserRateDTO> list = listServiceResponse.getResult();
map = list.stream().collect(Collectors.toMap(IndexChannelUserRateDTO::getAreaId, IndexChannelUserRateDTO::getMemberCount));
......
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