修复清理通道错误

This commit is contained in:
648540858
2024-12-27 09:53:27 +08:00
parent 081bb6de18
commit ce73b6feb1

View File

@@ -100,7 +100,7 @@ public interface DeviceChannelMapper {
" </script>")
List<Integer> queryChaneIdListByDeviceDbIds(List<Integer> deviceDbIds);
@Delete("DELETE FROM wvp_device_channel WHERE data_type =1 and data_device_id=#{deviceId}")
@Delete("DELETE FROM wvp_device_channel WHERE data_type =1 and data_device_id=#{dataDeviceId}")
int cleanChannelsByDeviceId(@Param("dataDeviceId") int dataDeviceId);
@Delete("DELETE FROM wvp_device_channel WHERE id=#{id}")