fix list.isnotempty

This commit is contained in:
huahua
2024-07-24 14:04:31 +08:00
parent 6db7a3b361
commit 4f16e3ff24

View File

@@ -220,7 +220,7 @@ public class HomeServiceImpl implements HomeService {
//本月数据
BusinessAnalysis monthAna = businessAnalysisService.getMonth(request.getMerId());
LinkedHashMap<String, BusinessAnalysis> tempMap = new LinkedHashMap();
if (CollUtil.isEmpty(list)) {
if (CollUtil.isNotEmpty(list)) {
list.forEach(e -> {
tempMap.put(Convert.toInt(e.getDateKey()).toString(), e);
});