ソースを参照

调整排序折合

chenendian 3 週間 前
コミット
f9ba5700d8

+ 2 - 2
siwei-modules/siwei-apply/src/main/java/com/siwei/apply/service/cadastre/impl/StorageServiceImpl.java

@@ -530,8 +530,8 @@ public class StorageServiceImpl {
                     String y2 = d2.getYear();
                     if("其它".equals(y1)) return 1;
                     if("其它".equals(y2)) return -1;
-                    if("2016年前".equals(y1)) return 1;
-                    if("2016年前".equals(y2)) return -1;
+                    if("2016年前".equals(y1)) return -1;
+                    if("2016年前".equals(y2)) return 1;
                     return Integer.parseInt(y1)-Integer.parseInt(y2);
                 }).collect(Collectors.toList());
         return res;

+ 1 - 1
siwei-modules/siwei-apply/src/main/java/com/siwei/apply/service/cadastre/impl/SupplyServiceImpl.java

@@ -374,7 +374,7 @@ public class SupplyServiceImpl implements ISupplyService {
             //2015年之前的数据折合到一个年份中
             if(tmpArea>0d){
                 Map<String, Object> map = new LinkedHashMap<>();
-                map.put("year", "2026年前");
+                map.put("year", "2016年前");
                 map.put("area", tmpArea);
                 areaTrendStatisticsList.add(map);
             }