From 3e71e0bdf1e4b2e527d491d426f67e34b7d3c148 Mon Sep 17 00:00:00 2001
From: xiaoQQya <xiaoQQya@126.com>
Date: 星期六, 05 十一月 2022 11:35:01 +0800
Subject: [PATCH] perf(rtcPlayer): 修改控制台 log 级别
---
src/main/java/com/genersoft/iot/vmp/storager/dao/DeviceMapper.java | 14 ++++++++++++++
1 files changed, 14 insertions(+), 0 deletions(-)
diff --git a/src/main/java/com/genersoft/iot/vmp/storager/dao/DeviceMapper.java b/src/main/java/com/genersoft/iot/vmp/storager/dao/DeviceMapper.java
index 03dba38..9bf5c02 100644
--- a/src/main/java/com/genersoft/iot/vmp/storager/dao/DeviceMapper.java
+++ b/src/main/java/com/genersoft/iot/vmp/storager/dao/DeviceMapper.java
@@ -1,6 +1,7 @@
package com.genersoft.iot.vmp.storager.dao;
import com.genersoft.iot.vmp.gb28181.bean.Device;
+import com.genersoft.iot.vmp.vmanager.bean.ResourceBaceInfo;
import org.apache.ibatis.annotations.*;
import org.springframework.stereotype.Repository;
@@ -23,6 +24,7 @@
"transport," +
"streamMode," +
"ip," +
+ "sdpIp," +
"port," +
"hostAddress," +
"expires," +
@@ -51,6 +53,7 @@
"transport," +
"streamMode," +
"ip," +
+ "sdpIp," +
"port," +
"hostAddress," +
"expires," +
@@ -76,6 +79,7 @@
"#{transport}," +
"#{streamMode}," +
"#{ip}," +
+ "#{sdpIp}," +
"#{port}," +
"#{hostAddress}," +
"#{expires}," +
@@ -124,6 +128,7 @@
"transport," +
"streamMode," +
"ip," +
+ "sdpIp," +
"port," +
"hostAddress," +
"expires," +
@@ -159,6 +164,7 @@
"transport," +
"streamMode," +
"ip," +
+ "sdpIp," +
"port," +
"hostAddress," +
"expires," +
@@ -187,6 +193,7 @@
"transport," +
"streamMode," +
"ip," +
+ "sdpIp," +
"port," +
"hostAddress," +
"expires," +
@@ -213,6 +220,7 @@
"<if test=\"password != null\">, password='${password}'</if>" +
"<if test=\"streamMode != null\">, streamMode='${streamMode}'</if>" +
"<if test=\"ip != null\">, ip='${ip}'</if>" +
+ "<if test=\"sdpIp != null\">, sdpIp='${sdpIp}'</if>" +
"<if test=\"port != null\">, port=${port}</if>" +
"<if test=\"charset != null\">, charset='${charset}'</if>" +
"<if test=\"subscribeCycleForCatalog != null\">, subscribeCycleForCatalog=${subscribeCycleForCatalog}</if>" +
@@ -231,6 +239,7 @@
"deviceId, " +
"custom_name, " +
"password, " +
+ "sdpIp, " +
"createTime," +
"updateTime," +
"charset," +
@@ -242,6 +251,7 @@
"#{deviceId}," +
"#{name}," +
"#{password}," +
+ "#{sdpIp}," +
"#{createTime}," +
"#{updateTime}," +
"#{charset}," +
@@ -251,4 +261,8 @@
"#{online}" +
")")
void addCustomDevice(Device device);
+
+ @Select("select count(1) as total, sum(online) as online from device")
+ ResourceBaceInfo getOverview();
+
}
--
Gitblit v1.8.0