|
|
@ -563,7 +563,7 @@ public class LingShanAgentServiceServiceImpl implements LingShanAgentServiceServ |
|
|
|
|
|
|
|
return cateogries.stream().map(c -> { |
|
|
|
LingshanAgentServiceRecordEntity data = categoryAndData.get(c.getId()); |
|
|
|
return new ScreenAgentServiceCategoryAnalysisRstDTO(c.getCategoryName(), data.getQty()); |
|
|
|
return new ScreenAgentServiceCategoryAnalysisRstDTO(c.getCategoryName(), data == null ? 0 : data.getQty()); |
|
|
|
}).collect(Collectors.toList()); |
|
|
|
} |
|
|
|
|
|
|
|