Commit 68cad9a953450069748435e7bf219895c0efaaba

Authored by Lawrence
1 parent e8960c6f

调整格式

src/main/java/com/genersoft/iot/vmp/storager/dao/DeviceChannelMapper.java
... ... @@ -21,15 +21,6 @@ public interface DeviceChannelMapper {
21 21 "'${ipAddress}', ${port}, '${password}', ${PTZType}, ${status})")
22 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 24 @Update(value = {" <script>" +
34 25 "UPDATE device_channel " +
35 26 "SET deviceId='${deviceId}'" +
... ...
src/main/java/com/genersoft/iot/vmp/storager/dao/DeviceMapper.java
... ... @@ -44,7 +44,6 @@ public interface DeviceMapper {
44 44 ")")
45 45 int add(Device device);
46 46  
47   -
48 47 @Update(value = {" <script>" +
49 48 "UPDATE device " +
50 49 "SET deviceId='${deviceId}'" +
... ...
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");
... ...
web_src/src/components/channelList.vue
... ... @@ -101,7 +101,7 @@ export default {
101 101 total: 0,
102 102 beforeUrl: "/videoList",
103 103 isLoging: false,
104   - autoList: false
  104 + autoList: true
105 105 };
106 106 },
107 107  
... ... @@ -181,7 +181,7 @@ export default {
181 181  
182 182 //通知设备上传媒体流
183 183 sendDevicePush: function (itemData) {
184   - console.log(itemData)
  184 + console.log(itemData);
185 185 let deviceId = this.deviceId;
186 186 this.isLoging = true;
187 187 let channelId = itemData.channelId;
... ...