Commit 68cad9a953450069748435e7bf219895c0efaaba
1 parent
e8960c6f
调整格式
Showing
4 changed files
with
2 additions
and
13 deletions
src/main/java/com/genersoft/iot/vmp/storager/dao/DeviceChannelMapper.java
| @@ -21,15 +21,6 @@ public interface DeviceChannelMapper { | @@ -21,15 +21,6 @@ public interface DeviceChannelMapper { | ||
| 21 | "'${ipAddress}', ${port}, '${password}', ${PTZType}, ${status})") | 21 | "'${ipAddress}', ${port}, '${password}', ${PTZType}, ${status})") |
| 22 | int add(DeviceChannel channel); | 22 | int add(DeviceChannel channel); |
| 23 | 23 | ||
| 24 | -// @Update("UPDATE device_channel " + | ||
| 25 | -// "SET name=#{name}, manufacture=#{manufacture}, model=#{model}, owner=#{owner}, civilCode=#{civilCode}, " + | ||
| 26 | -// "block=#{block}, address=#{address}, parental=#{parental}, parentId=#{parentId}, safetyWay=#{safetyWay}, " + | ||
| 27 | -// "registerWay=#{registerWay}, certNum=#{certNum}, certifiable=#{certifiable}, errCode=#{errCode}, secrecy=#{secrecy}, " + | ||
| 28 | -// "ipAddress=#{ipAddress}, port=#{port}, password=#{password}, PTZType=#{PTZType}, status=#{status}, streamId=#{streamId}, " + | ||
| 29 | -// "hasAudio=#{hasAudio}" + | ||
| 30 | -// "WHERE deviceId=#{deviceId} AND channelId=#{channelId}") | ||
| 31 | - | ||
| 32 | - | ||
| 33 | @Update(value = {" <script>" + | 24 | @Update(value = {" <script>" + |
| 34 | "UPDATE device_channel " + | 25 | "UPDATE device_channel " + |
| 35 | "SET deviceId='${deviceId}'" + | 26 | "SET deviceId='${deviceId}'" + |
src/main/java/com/genersoft/iot/vmp/storager/dao/DeviceMapper.java
| @@ -44,7 +44,6 @@ public interface DeviceMapper { | @@ -44,7 +44,6 @@ public interface DeviceMapper { | ||
| 44 | ")") | 44 | ")") |
| 45 | int add(Device device); | 45 | int add(Device device); |
| 46 | 46 | ||
| 47 | - | ||
| 48 | @Update(value = {" <script>" + | 47 | @Update(value = {" <script>" + |
| 49 | "UPDATE device " + | 48 | "UPDATE device " + |
| 50 | "SET deviceId='${deviceId}'" + | 49 | "SET deviceId='${deviceId}'" + |
src/main/java/com/genersoft/iot/vmp/vmanager/play/PlayController.java
| @@ -169,7 +169,6 @@ public class PlayController { | @@ -169,7 +169,6 @@ public class PlayController { | ||
| 169 | // 超时处理 | 169 | // 超时处理 |
| 170 | result.onTimeout(()->{ | 170 | result.onTimeout(()->{ |
| 171 | logger.warn(String.format("设备预览/回放停止超时,streamId:%s ", streamId)); | 171 | logger.warn(String.format("设备预览/回放停止超时,streamId:%s ", streamId)); |
| 172 | - | ||
| 173 | RequestMessage msg = new RequestMessage(); | 172 | RequestMessage msg = new RequestMessage(); |
| 174 | msg.setId(DeferredResultHolder.CALLBACK_CMD_STOP + uuid); | 173 | msg.setId(DeferredResultHolder.CALLBACK_CMD_STOP + uuid); |
| 175 | msg.setData("Timeout"); | 174 | msg.setData("Timeout"); |
web_src/src/components/channelList.vue
| @@ -101,7 +101,7 @@ export default { | @@ -101,7 +101,7 @@ export default { | ||
| 101 | total: 0, | 101 | total: 0, |
| 102 | beforeUrl: "/videoList", | 102 | beforeUrl: "/videoList", |
| 103 | isLoging: false, | 103 | isLoging: false, |
| 104 | - autoList: false | 104 | + autoList: true |
| 105 | }; | 105 | }; |
| 106 | }, | 106 | }, |
| 107 | 107 | ||
| @@ -181,7 +181,7 @@ export default { | @@ -181,7 +181,7 @@ export default { | ||
| 181 | 181 | ||
| 182 | //通知设备上传媒体流 | 182 | //通知设备上传媒体流 |
| 183 | sendDevicePush: function (itemData) { | 183 | sendDevicePush: function (itemData) { |
| 184 | - console.log(itemData) | 184 | + console.log(itemData); |
| 185 | let deviceId = this.deviceId; | 185 | let deviceId = this.deviceId; |
| 186 | this.isLoging = true; | 186 | this.isLoging = true; |
| 187 | let channelId = itemData.channelId; | 187 | let channelId = itemData.channelId; |