diff --git a/src/main/java/com/genersoft/iot/vmp/gb28181/service/impl/GbChannelServiceImpl.java b/src/main/java/com/genersoft/iot/vmp/gb28181/service/impl/GbChannelServiceImpl.java index 791e9982e..2635c8a60 100644 --- a/src/main/java/com/genersoft/iot/vmp/gb28181/service/impl/GbChannelServiceImpl.java +++ b/src/main/java/com/genersoft/iot/vmp/gb28181/service/impl/GbChannelServiceImpl.java @@ -1122,7 +1122,6 @@ public class GbChannelServiceImpl implements IGbChannelService { @Transactional public void saveThin(String id) { commonGBChannelMapper.resetLevel(); - VectorTileUtils.INSTANCE.save(id); List channelList = VectorTileUtils.INSTANCE.getChannelList(id); if (channelList != null && !channelList.isEmpty()) { int limitCount = 1000; @@ -1138,5 +1137,6 @@ public class GbChannelServiceImpl implements IGbChannelService { commonGBChannelMapper.saveLevel(channelList); } } + VectorTileUtils.INSTANCE.save(id); } } diff --git a/web/src/views/map/index.vue b/web/src/views/map/index.vue index 62432986f..3dddd8732 100755 --- a/web/src/views/map/index.vue +++ b/web/src/views/map/index.vue @@ -575,6 +575,7 @@ export default { if (!this.drawThinId) { return } + this.saveDrawThinLoading = true this.$store.dispatch('commonChanel/saveThin', this.drawThinId) .then((data) => { this.$message.success({