调整格式
This commit is contained in:
@@ -21,15 +21,6 @@ public interface DeviceChannelMapper {
|
||||
"'${ipAddress}', ${port}, '${password}', ${PTZType}, ${status})")
|
||||
int add(DeviceChannel channel);
|
||||
|
||||
// @Update("UPDATE device_channel " +
|
||||
// "SET name=#{name}, manufacture=#{manufacture}, model=#{model}, owner=#{owner}, civilCode=#{civilCode}, " +
|
||||
// "block=#{block}, address=#{address}, parental=#{parental}, parentId=#{parentId}, safetyWay=#{safetyWay}, " +
|
||||
// "registerWay=#{registerWay}, certNum=#{certNum}, certifiable=#{certifiable}, errCode=#{errCode}, secrecy=#{secrecy}, " +
|
||||
// "ipAddress=#{ipAddress}, port=#{port}, password=#{password}, PTZType=#{PTZType}, status=#{status}, streamId=#{streamId}, " +
|
||||
// "hasAudio=#{hasAudio}" +
|
||||
// "WHERE deviceId=#{deviceId} AND channelId=#{channelId}")
|
||||
|
||||
|
||||
@Update(value = {" <script>" +
|
||||
"UPDATE device_channel " +
|
||||
"SET deviceId='${deviceId}'" +
|
||||
|
||||
@@ -44,7 +44,6 @@ public interface DeviceMapper {
|
||||
")")
|
||||
int add(Device device);
|
||||
|
||||
|
||||
@Update(value = {" <script>" +
|
||||
"UPDATE device " +
|
||||
"SET deviceId='${deviceId}'" +
|
||||
|
||||
@@ -169,7 +169,6 @@ public class PlayController {
|
||||
// 超时处理
|
||||
result.onTimeout(()->{
|
||||
logger.warn(String.format("设备预览/回放停止超时,streamId:%s ", streamId));
|
||||
|
||||
RequestMessage msg = new RequestMessage();
|
||||
msg.setId(DeferredResultHolder.CALLBACK_CMD_STOP + uuid);
|
||||
msg.setData("Timeout");
|
||||
|
||||
Reference in New Issue
Block a user