mirror of
https://gitee.com/pan648540858/wvp-GB28181-pro.git
synced 2026-05-26 23:17:50 +08:00
Compare commits
3 Commits
6070348edd
...
3438ad9ec3
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
3438ad9ec3 | ||
|
|
40b6580611 | ||
|
|
b05f770a57 |
@ -113,6 +113,9 @@ public class DeviceChannelServiceImpl implements IDeviceChannelService {
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public int updateChannels(Device device, List<DeviceChannel> channels) {
|
public int updateChannels(Device device, List<DeviceChannel> channels) {
|
||||||
|
if (CollectionUtils.isEmpty(channels)) {
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
List<DeviceChannel> addChannels = new ArrayList<>();
|
List<DeviceChannel> addChannels = new ArrayList<>();
|
||||||
List<DeviceChannel> updateChannels = new ArrayList<>();
|
List<DeviceChannel> updateChannels = new ArrayList<>();
|
||||||
HashMap<String, DeviceChannel> channelsInStore = new HashMap<>();
|
HashMap<String, DeviceChannel> channelsInStore = new HashMap<>();
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user