fix: 修復同步分析

This commit is contained in:
sunhe 2025-05-24 23:58:42 +08:00
parent 919766f652
commit 41653e9bc4
2 changed files with 1 additions and 3 deletions

View File

@ -680,6 +680,7 @@ public class ChartController {
chart.setChartType(chartType); chart.setChartType(chartType);
chart.setGenChart(genChart); chart.setGenChart(genChart);
chart.setGenResult(genResult); chart.setGenResult(genResult);
chart.setStatus("succeed");
chart.setUserId(loginUser.getId()); chart.setUserId(loginUser.getId());
boolean saveResult = chartService.save(chart); boolean saveResult = chartService.save(chart);
ThrowUtils.throwIf(!saveResult, ErrorCode.SYSTEM_ERROR, "图表保存失败"); ThrowUtils.throwIf(!saveResult, ErrorCode.SYSTEM_ERROR, "图表保存失败");

View File

@ -176,7 +176,4 @@ public class commentController {
return ResultUtils.success(comment.getId()); return ResultUtils.success(comment.getId());
} }
} }