fix list.isnotempty
This commit is contained in:
@@ -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);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user