修复抽稀结果保存
This commit is contained in:
@@ -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({
|
||||||
|
|||||||
Reference in New Issue
Block a user