Commit 8801c7741bc0828425251327a62f6e20dada4132
1 parent
e739c379
与2.0同步修改
Showing
4 changed files
with
0 additions
and
19 deletions
src/main/java/com/genersoft/iot/vmp/storager/dao/DeviceChannelMapper.java
| ... | ... | @@ -19,15 +19,6 @@ public interface DeviceChannelMapper { |
| 19 | 19 | "'${ipAddress}', ${port}, '${password}', ${PTZType}, ${status})") |
| 20 | 20 | int add(DeviceChannel channel); |
| 21 | 21 | |
| 22 | -// @Update("UPDATE device_channel " + | |
| 23 | -// "SET name=#{name}, manufacture=#{manufacture}, model=#{model}, owner=#{owner}, civilCode=#{civilCode}, " + | |
| 24 | -// "block=#{block}, address=#{address}, parental=#{parental}, parentId=#{parentId}, safetyWay=#{safetyWay}, " + | |
| 25 | -// "registerWay=#{registerWay}, certNum=#{certNum}, certifiable=#{certifiable}, errCode=#{errCode}, secrecy=#{secrecy}, " + | |
| 26 | -// "ipAddress=#{ipAddress}, port=#{port}, password=#{password}, PTZType=#{PTZType}, status=#{status}, streamId=#{streamId}, " + | |
| 27 | -// "hasAudio=#{hasAudio}" + | |
| 28 | -// "WHERE deviceId=#{deviceId} AND channelId=#{channelId}") | |
| 29 | - | |
| 30 | - | |
| 31 | 22 | @Update(value = {" <script>" + |
| 32 | 23 | "UPDATE device_channel " + |
| 33 | 24 | "SET deviceId='${deviceId}'" + | ... | ... |
src/main/java/com/genersoft/iot/vmp/vmanager/device/DeviceController.java
src/main/java/com/genersoft/iot/vmp/vmanager/play/PlayController.java
| ... | ... | @@ -169,7 +169,6 @@ public class PlayController { |
| 169 | 169 | // 超时处理 |
| 170 | 170 | result.onTimeout(()->{ |
| 171 | 171 | logger.warn(String.format("设备预览/回放停止超时,streamId:%s ", streamId)); |
| 172 | - | |
| 173 | 172 | RequestMessage msg = new RequestMessage(); |
| 174 | 173 | msg.setId(DeferredResultHolder.CALLBACK_CMD_STOP + uuid); |
| 175 | 174 | msg.setData("Timeout"); | ... | ... |
src/main/java/com/genersoft/iot/vmp/web/ApiStreamController.java