修复抽稀结果保存

This commit is contained in:
lin 2025-11-05 11:39:45 +08:00
parent 826b251544
commit b84e9d2799
2 changed files with 2 additions and 1 deletions

View File

@ -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);
} }
} }

View File

@ -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({