diff --git a/backend/src/main/java/com/yfd/platform/qgc_sys/mapLayer/controller/MapLegendController.java b/backend/src/main/java/com/yfd/platform/qgc_sys/mapLayer/controller/MapLegendController.java index 9c2b5010..cd6945ae 100644 --- a/backend/src/main/java/com/yfd/platform/qgc_sys/mapLayer/controller/MapLegendController.java +++ b/backend/src/main/java/com/yfd/platform/qgc_sys/mapLayer/controller/MapLegendController.java @@ -62,6 +62,7 @@ public class MapLegendController { Page page = DataSourceRequestUtil.getPage(dataSourceRequest); Page resultPage; wrapper.eq("IS_DELETED", 0); + wrapper.orderByDesc("ORDER_INDEX"); if (page != null) { resultPage = mapLegendService.page(page, wrapper); } else {