临时提交

This commit is contained in:
648540858
2024-09-18 17:33:29 +08:00
parent f89933fb58
commit a6b436af29
2 changed files with 4 additions and 2 deletions

View File

@@ -334,7 +334,9 @@ public class PlatformChannelServiceImpl implements IPlatformChannelService {
@Transactional
public int removeChannels(Integer platformId, List<Integer> channelIds) {
List<CommonGBChannel> channelList = platformChannelMapper.queryShare(platformId, channelIds);
Assert.notEmpty(channelList, "所选通道未共享");
if (channelList.isEmpty()) {
return 0;
}
return removeChannelList(platformId, channelList);
}