|
@@ -236,6 +236,7 @@ public class UrbanMonitorServiceImpl implements IUrbanMonitorService {
|
|
|
if (list != null && !list.isEmpty()) {
|
|
if (list != null && !list.isEmpty()) {
|
|
|
// 提取年份并去重排序
|
|
// 提取年份并去重排序
|
|
|
years = list.stream()
|
|
years = list.stream()
|
|
|
|
|
+ .filter(item -> "boundary".equals(item.getLayerType()) || "expand".equals(item.getLayerType()))
|
|
|
.map(UrbanExpansionLayerVO::getYear)
|
|
.map(UrbanExpansionLayerVO::getYear)
|
|
|
.distinct()
|
|
.distinct()
|
|
|
.sorted()
|
|
.sorted()
|