From 34ad04c82e49dacbfd7b00eb75a394657da83e1c Mon Sep 17 00:00:00 2001 From: wuweida <2918581207@qq.com> Date: Mon, 4 Jul 2022 16:19:51 +0800 Subject: [PATCH] 1 --- .../java/com/hisense/monitormanage/controller/Controller.java | 4 ++-- .../java/com/hisense/monitormanage/entity/CameraChannel.java | 2 +- .../com/hisense/monitormanage/entity/CameraOrganization.java | 2 +- src/main/resources/mapper/BuildingRecordsMapper.xml | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/main/java/com/hisense/monitormanage/controller/Controller.java b/src/main/java/com/hisense/monitormanage/controller/Controller.java index 7ceef83..e5113ba 100644 --- a/src/main/java/com/hisense/monitormanage/controller/Controller.java +++ b/src/main/java/com/hisense/monitormanage/controller/Controller.java @@ -92,7 +92,7 @@ public class Controller { @GetMapping("capture") public Object capture(){ - monitorService.start(); + monitorService.construction(); return "finish capture"; } @@ -106,7 +106,7 @@ public class Controller { @GetMapping("capture1") public Object capture1(){ - monitorService.listChannelPlayStates(); + monitorService.scenicSpotAndBathing(); return "finish capture"; } diff --git a/src/main/java/com/hisense/monitormanage/entity/CameraChannel.java b/src/main/java/com/hisense/monitormanage/entity/CameraChannel.java index 0bfac94..1ffa86b 100644 --- a/src/main/java/com/hisense/monitormanage/entity/CameraChannel.java +++ b/src/main/java/com/hisense/monitormanage/entity/CameraChannel.java @@ -5,7 +5,7 @@ import com.baomidou.mybatisplus.annotation.TableName; import lombok.Data; @Data -@TableName("t_camera_channel_copy") +@TableName("t_camera_channel") public class CameraChannel { @TableId diff --git a/src/main/java/com/hisense/monitormanage/entity/CameraOrganization.java b/src/main/java/com/hisense/monitormanage/entity/CameraOrganization.java index be8dea1..5a85729 100644 --- a/src/main/java/com/hisense/monitormanage/entity/CameraOrganization.java +++ b/src/main/java/com/hisense/monitormanage/entity/CameraOrganization.java @@ -5,7 +5,7 @@ import com.baomidou.mybatisplus.annotation.TableName; import lombok.Data; @Data -@TableName("t_camera_organization_copy") +@TableName("t_camera_organization") public class CameraOrganization { @TableId private String id; diff --git a/src/main/resources/mapper/BuildingRecordsMapper.xml b/src/main/resources/mapper/BuildingRecordsMapper.xml index 2d6f994..d7f010f 100644 --- a/src/main/resources/mapper/BuildingRecordsMapper.xml +++ b/src/main/resources/mapper/BuildingRecordsMapper.xml @@ -32,7 +32,7 @@