临时提交

This commit is contained in:
648540858
2024-07-08 15:10:02 +08:00
parent fe921b860a
commit 7b7512f84d
4 changed files with 20 additions and 36 deletions

View File

@@ -22,10 +22,6 @@ public interface IGbChannelService {
int online(List<CommonGBChannel> commonGBChannelList);
void closeSend(CommonGBChannel commonGBChannel);
void closeSend(List<CommonGBChannel> commonGBChannelList);
void batchAdd(List<CommonGBChannel> commonGBChannels);
void updateStatus(List<CommonGBChannel> channelList);

View File

@@ -44,8 +44,6 @@ public class GbChannelServiceImpl implements IGbChannelService {
}catch (Exception e) {
log.warn("[通道移除通知] 发送失败,{}", channel.getGbDeviceId(), e);
}
// 结束发送
closeSend(channel);
}
return 1;
}
@@ -119,8 +117,6 @@ public class GbChannelServiceImpl implements IGbChannelService {
log.warn("[多个通道离线] 发送失败,数量:{}", onlineChannelList.size(), e);
}
}
// 结束国标级联的发送
closeSend(onlineChannelList);
return result;
}
@@ -180,21 +176,6 @@ public class GbChannelServiceImpl implements IGbChannelService {
return result;
}
@Override
public void closeSend(CommonGBChannel commonGBChannel) {
}
@Override
@Transactional
public void closeSend(List<CommonGBChannel> commonGBChannelList) {
if (!commonGBChannelList.isEmpty()) {
for (CommonGBChannel commonGBChannel : commonGBChannelList) {
closeSend(commonGBChannel);
}
}
}
@Override
public void batchAdd(List<CommonGBChannel> commonGBChannels) {