修复抽稀结果保存

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
public void saveThin(String id) {
commonGBChannelMapper.resetLevel();
VectorTileUtils.INSTANCE.save(id);
List<CommonGBChannel> 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);
}
}

View File

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