Commit 8801c7741bc0828425251327a62f6e20dada4132

Authored by Lawrence
1 parent e739c379

与2.0同步修改

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
... ... @@ -63,13 +63,6 @@ public class DeviceController {
63 63  
64 64 /**
65 65 * 分页查询通道数
66   - * @param deviceId 设备id
67   - * @param page 当前页
68   - * @param count 每页条数
69   - * @return 通道列表
70   - */
71   - /**
72   - * 分页查询通道数
73 66 *
74 67 * @param deviceId 设备id
75 68 * @param page 当前页
... ...
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
... ... @@ -39,8 +39,6 @@ public class ApiStreamController {
39 39 @Autowired
40 40 private IRedisCatchStorage redisCatchStorage;
41 41  
42   - private boolean closeWaitRTPInfo = false;
43   -
44 42  
45 43 @Autowired
46 44 private ZLMRESTfulUtils zlmresTfulUtils;
... ...