diff --git a/src/main/java/com/hisense/monitormanage/controller/BuildingController.java b/src/main/java/com/hisense/monitormanage/controller/BuildingController.java index 3cbdf9f..aa4ffe8 100644 --- a/src/main/java/com/hisense/monitormanage/controller/BuildingController.java +++ b/src/main/java/com/hisense/monitormanage/controller/BuildingController.java @@ -19,7 +19,6 @@ import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RequestParam; import org.springframework.web.bind.annotation.RestController; -import java.time.LocalDateTime; import java.util.HashMap; import java.util.List; import java.util.Map; diff --git a/src/main/java/com/hisense/monitormanage/mapper/CameraChannelMapper.java b/src/main/java/com/hisense/monitormanage/mapper/CameraChannelMapper.java index 5d5f8a3..e53bb4c 100644 --- a/src/main/java/com/hisense/monitormanage/mapper/CameraChannelMapper.java +++ b/src/main/java/com/hisense/monitormanage/mapper/CameraChannelMapper.java @@ -58,7 +58,7 @@ public interface CameraChannelMapper extends BaseMapper { List selectNLAll(@Param("page") Integer page,@Param("pageSize") Integer pageSize); - @Select("SELECT * FROM t_camera_channel WHERE channel_code < '129_37021204121310498775' AND channel_code > '113_37021303001310021614' ORDER BY channel_code DESC") + @Select("SELECT * FROM t_camera_channel WHERE channel_code < '105_37028560031310878272' AND channel_code > '105_37028531031320000001' ORDER BY channel_code DESC") List selectCameraChannel(); } diff --git a/src/main/java/com/hisense/monitormanage/service/QidiService.java b/src/main/java/com/hisense/monitormanage/service/QidiService.java index 55b74cc..064167f 100644 --- a/src/main/java/com/hisense/monitormanage/service/QidiService.java +++ b/src/main/java/com/hisense/monitormanage/service/QidiService.java @@ -67,13 +67,6 @@ public class QidiService { HttpHeaders headers = new HttpHeaders(); headers.add("Authorization", "Bearer " + token); - /*Map map = new HashMap<>(); - JSONObject search = new JSONObject(); - search.put("opt","LIKE"); - search.put("key","UPLOADTIME"); - search.put("val",this.dateStr()); - map.put("json",search);*/ - String url = "http://120.221.95.13:9090/catalog/resCatalogApply/getData/UC_QUERY_ZTYS_307013600000000022_2"; HttpEntity httpEntity = new HttpEntity<>(null, headers); @@ -98,13 +91,6 @@ public class QidiService { HttpHeaders headers = new HttpHeaders(); headers.add("Authorization", "Bearer " + token); - /* Map map = new HashMap<>(); - JSONObject search = new JSONObject(); - search.put("opt","LIKE"); - search.put("key","updatetime"); - search.put("val",this.dateStr()); - map.put("json",search);*/ - HttpEntity> request = new HttpEntity<>(null, headers); ResponseEntity responseEntity; try {