diff --git a/src/main/java/com/genersoft/iot/vmp/gb28181/dao/DeviceChannelMapper.java b/src/main/java/com/genersoft/iot/vmp/gb28181/dao/DeviceChannelMapper.java index 87179fe9..fd640ab5 100755 --- a/src/main/java/com/genersoft/iot/vmp/gb28181/dao/DeviceChannelMapper.java +++ b/src/main/java/com/genersoft/iot/vmp/gb28181/dao/DeviceChannelMapper.java @@ -209,7 +209,7 @@ public interface DeviceChannelMapper { int batchAdd(@Param("addChannels") List addChannels); - @Update(value = {"UPDATE wvp_device_channel SET status='OFF' WHERE id=#{id}"}) + @Update(value = {"UPDATE wvp_device_channel SET status='ON' WHERE id=#{id}"}) void online(@Param("id") int id); @Update({"