|
@@ -54,6 +54,9 @@ public class StorageServiceImpl {
|
|
|
|
|
|
|
|
|
|
|
|
|
public List<TrendUseStatisticsData> getData2(String year) {
|
|
public List<TrendUseStatisticsData> getData2(String year) {
|
|
|
|
|
+ if("0".equals(year)){
|
|
|
|
|
+ year = null;
|
|
|
|
|
+ }
|
|
|
List<Map<String, Object>> statsList = gjShijiShouchuMapper.getStatsByYearAndUse(year);
|
|
List<Map<String, Object>> statsList = gjShijiShouchuMapper.getStatsByYearAndUse(year);
|
|
|
List<TrendUseStatisticsData> res = new ArrayList<>();
|
|
List<TrendUseStatisticsData> res = new ArrayList<>();
|
|
|
if (CollectionUtils.isNotEmpty(statsList)) {
|
|
if (CollectionUtils.isNotEmpty(statsList)) {
|