diff --git a/src/main/java/com/genersoft/iot/vmp/conf/SipConfig.java b/src/main/java/com/genersoft/iot/vmp/conf/SipConfig.java index 52d80890..b88778e3 100644 --- a/src/main/java/com/genersoft/iot/vmp/conf/SipConfig.java +++ b/src/main/java/com/genersoft/iot/vmp/conf/SipConfig.java @@ -8,15 +8,15 @@ import org.springframework.context.annotation.Configuration; public class SipConfig { @Value("${sip.ip}") - String sipIp; + private String sipIp; @Value("${sip.port}") - Integer sipPort; + private Integer sipPort; @Value("${sip.domain}") - String sipDomain; + private String sipDomain; @Value("${sip.id}") - String sipId; + private String sipId; @Value("${sip.password}") - String sipPassword; + private String sipPassword; @Value("${sip.ptz.speed:50}") Integer speed; @@ -25,47 +25,28 @@ public class SipConfig { return sipIp; } - public void setSipIp(String sipIp) { - this.sipIp = sipIp; - } public Integer getSipPort() { return sipPort; } - public void setSipPort(Integer sipPort) { - this.sipPort = sipPort; - } public String getSipDomain() { return sipDomain; } - public void setSipDomain(String sipDomain) { - this.sipDomain = sipDomain; - } public String getSipId() { return sipId; } - public void setSipId(String sipId) { - this.sipId = sipId; - } - public String getSipPassword() { return sipPassword; } - public void setSipPassword(String sipPassword) { - this.sipPassword = sipPassword; - } public Integer getSpeed() { return speed; } - public void setSpeed(Integer speed) { - this.speed = speed; - } } diff --git a/src/main/java/com/genersoft/iot/vmp/storager/dao/ParentPlatformMapper.java b/src/main/java/com/genersoft/iot/vmp/storager/dao/ParentPlatformMapper.java index efc74269..b0428cc5 100644 --- a/src/main/java/com/genersoft/iot/vmp/storager/dao/ParentPlatformMapper.java +++ b/src/main/java/com/genersoft/iot/vmp/storager/dao/ParentPlatformMapper.java @@ -45,7 +45,6 @@ public interface ParentPlatformMapper { @Delete("DELETE FROM parent_platform WHERE deviceGBId=#{deviceGBId}") int delParentPlatform(ParentPlatform parentPlatform); - @Select("SELECT * FROM parent_platform") List getParentPlatformList(); diff --git a/web_src/src/components/ParentPlatformList.vue b/web_src/src/components/ParentPlatformList.vue index 0d3ce699..39aeb3cb 100644 --- a/web_src/src/components/ParentPlatformList.vue +++ b/web_src/src/components/ParentPlatformList.vue @@ -39,9 +39,9 @@ - + - +