|
|
@@ -541,7 +541,9 @@ public class StorageServiceImpl {
|
|
|
|
|
|
public StorageYearStatisticsRes getYearStatistics(String year) {
|
|
|
StorageYearStatisticsRes res = new StorageYearStatisticsRes();
|
|
|
-
|
|
|
+ if(StringUtils.isBlank(year)||"0".equals(year)){
|
|
|
+ year = "";
|
|
|
+ }
|
|
|
Map<String, Object> planSummary = gjShouchuJihuaMapper.getPlanSummaryByYear(year);
|
|
|
List<TdgyStatisticsRes> completeList = gjShijiShouchuMapper.gjShijiShouchuListByYear(year, null, null, null, null, null);
|
|
|
BigDecimal planArea = toBigDecimal(planSummary == null ? null : planSummary.get("plan_area"));
|