Explorar o código

模拟预警信息接口开发

gao.qiang hai 5 meses
pai
achega
b40f3bebd1

+ 1 - 1
vehicle-sdk/src/main/java/com/ozs/controller/upload/GeoHazardMonitorTokenController.java

@@ -2352,8 +2352,8 @@ public class GeoHazardMonitorTokenController {
                     wrapper.orderByDesc(BaseCameraManagement::getGrou).orderByDesc(BaseCameraManagement::getSort);
                 }
             } else {
-                wrapper.orderByAsc(BaseCameraManagement::getGrou).orderByAsc(BaseCameraManagement::getSort);
                 wrapper.eq(BaseCameraManagement::getEnableOrNot, 1);
+                wrapper.orderByAsc(BaseCameraManagement::getGrou).orderByAsc(BaseCameraManagement::getSort);
             }
             List<BaseCameraManagement> list = baseCameraManagementService.list(wrapper);
             if (ObjectUtils.isEmpty(list)) {