From 4c8e2beb4d369865893ec791430d95420d4acfad Mon Sep 17 00:00:00 2001
From: 648540858 <648540858@qq.com>
Date: 星期二, 08 十一月 2022 19:58:36 +0800
Subject: [PATCH] 优化hook处理速度
---
src/main/java/com/genersoft/iot/vmp/storager/dao/DeviceMapper.java | 9 +++++++++
1 files changed, 9 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 b1210c6..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
@@ -24,6 +24,7 @@
"transport," +
"streamMode," +
"ip," +
+ "sdpIp," +
"port," +
"hostAddress," +
"expires," +
@@ -52,6 +53,7 @@
"transport," +
"streamMode," +
"ip," +
+ "sdpIp," +
"port," +
"hostAddress," +
"expires," +
@@ -77,6 +79,7 @@
"#{transport}," +
"#{streamMode}," +
"#{ip}," +
+ "#{sdpIp}," +
"#{port}," +
"#{hostAddress}," +
"#{expires}," +
@@ -125,6 +128,7 @@
"transport," +
"streamMode," +
"ip," +
+ "sdpIp," +
"port," +
"hostAddress," +
"expires," +
@@ -160,6 +164,7 @@
"transport," +
"streamMode," +
"ip," +
+ "sdpIp," +
"port," +
"hostAddress," +
"expires," +
@@ -188,6 +193,7 @@
"transport," +
"streamMode," +
"ip," +
+ "sdpIp," +
"port," +
"hostAddress," +
"expires," +
@@ -214,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>" +
@@ -232,6 +239,7 @@
"deviceId, " +
"custom_name, " +
"password, " +
+ "sdpIp, " +
"createTime," +
"updateTime," +
"charset," +
@@ -243,6 +251,7 @@
"#{deviceId}," +
"#{name}," +
"#{password}," +
+ "#{sdpIp}," +
"#{createTime}," +
"#{updateTime}," +
"#{charset}," +
--
Gitblit v1.8.0