From 20a10d977a97c5b02294fe01c3b7885fccad8d62 Mon Sep 17 00:00:00 2001 From: wuweida <2918581207@qq.com> Date: Mon, 8 Aug 2022 09:22:36 +0800 Subject: [PATCH] =?UTF-8?q?=E6=97=A0=E7=94=A8=E7=9A=84=E6=B3=A8=E9=87=8A?= =?UTF-8?q?=E7=B1=BB=E5=88=A0=E9=99=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../controller/BuildingController.java | 1 - .../monitormanage/mapper/CameraChannelMapper.java | 2 +- .../hisense/monitormanage/service/QidiService.java | 14 -------------- 3 files changed, 1 insertion(+), 16 deletions(-) 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 {