mirror of
https://gitee.com/pan648540858/wvp-GB28181-pro.git
synced 2026-05-24 14:07:50 +08:00
修复抽稀结果保存
This commit is contained in:
parent
826b251544
commit
b84e9d2799
@ -1122,7 +1122,6 @@ public class GbChannelServiceImpl implements IGbChannelService {
|
|||||||
@Transactional
|
@Transactional
|
||||||
public void saveThin(String id) {
|
public void saveThin(String id) {
|
||||||
commonGBChannelMapper.resetLevel();
|
commonGBChannelMapper.resetLevel();
|
||||||
VectorTileUtils.INSTANCE.save(id);
|
|
||||||
List<CommonGBChannel> channelList = VectorTileUtils.INSTANCE.getChannelList(id);
|
List<CommonGBChannel> channelList = VectorTileUtils.INSTANCE.getChannelList(id);
|
||||||
if (channelList != null && !channelList.isEmpty()) {
|
if (channelList != null && !channelList.isEmpty()) {
|
||||||
int limitCount = 1000;
|
int limitCount = 1000;
|
||||||
@ -1138,5 +1137,6 @@ public class GbChannelServiceImpl implements IGbChannelService {
|
|||||||
commonGBChannelMapper.saveLevel(channelList);
|
commonGBChannelMapper.saveLevel(channelList);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
VectorTileUtils.INSTANCE.save(id);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -575,6 +575,7 @@ export default {
|
|||||||
if (!this.drawThinId) {
|
if (!this.drawThinId) {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
this.saveDrawThinLoading = true
|
||||||
this.$store.dispatch('commonChanel/saveThin', this.drawThinId)
|
this.$store.dispatch('commonChanel/saveThin', this.drawThinId)
|
||||||
.then((data) => {
|
.then((data) => {
|
||||||
this.$message.success({
|
this.$message.success({
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user