构造空数组,防止null

This commit is contained in:
liyj 2025-12-19 11:01:35 +08:00
parent 2040b57fb6
commit 7c3e025d76

View File

@ -259,7 +259,11 @@ public class ShopOrderReturnServiceImpl extends BaseServiceImpl<ShopOrderReturnM
} }
return mapList; return mapList;
} }
return shopOrderReturnMapper.statisticCount(end, days); List<Map<String, Object>> statisticList=shopOrderReturnMapper.statisticCount(end, days);
if(null==statisticList){
statisticList=new ArrayList<>();
}
return statisticList;
} }
/** /**