liusuyi
2026-06-01 3496700a5ba18be8ca0590a79e21a867782d1ea9
ard-modules/ard-modules-work/src/main/java/com/ard/work/device/channel/service/impl/ArdChannelServiceImpl.java
@@ -1,17 +1,8 @@
package com.ard.work.device.channel.service.impl;
import com.ard.common.core.constant.CacheConstants;
import com.ard.common.core.constant.Constants;
import com.ard.common.core.constant.SecurityConstants;
import com.ard.common.core.constant.UserConstants;
import com.ard.common.core.domain.R;
import com.ard.common.core.enums.LiveStreamType;
import com.ard.common.core.utils.uuid.IdUtils;
import com.ard.common.redis.service.RedisService;
import com.ard.qs.api.RemoteQsDeviceService;
import com.ard.qs.api.domain.QsDevice;
import com.ard.work.api.domian.ArdCamera;
import com.ard.work.api.domian.ArdCameraHepu;
import com.ard.work.api.domian.ArdChannel;
import com.ard.work.device.channel.mapper.ArdChannelMapper;
import com.ard.work.device.channel.service.IArdChannelService;
@@ -19,9 +10,9 @@
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
import java.util.List;
import java.util.Objects;
import java.util.Optional;
/**
 * 通道管理Service业务层处理
@@ -34,8 +25,6 @@
public class ArdChannelServiceImpl implements IArdChannelService {
    @Resource
    private ArdChannelMapper ardChannelMapper;
    @Resource
    private RemoteQsDeviceService remoteQsDeviceService;
    @Resource
    private RedisService redisService;
@@ -105,11 +94,7 @@
    @Override
    @Transactional(rollbackFor = Exception.class)
    public int deleteArdChannelByIds(String[] ids) {
        int i = ardChannelMapper.deleteArdChannelByIds(ids);
        if (i > 0) {
            R<Boolean> delR = remoteQsDeviceService.removeQsDevice(ids, SecurityConstants.INNER);
        }
        return i;
        return ardChannelMapper.deleteArdChannelByIds(ids);
    }
    /**