feat(chat): 添加批量获取语义解析信息功能
Some checks are pending
supersonic CentOS CI / build (21) (push) Waiting to run
supersonic mac CI / build (21) (push) Waiting to run
supersonic ubuntu CI / build (21) (push) Waiting to run
supersonic windows CI / build (21) (push) Waiting to run

- 在ChatManageService中新增getParseInfos方法用于批量查询
- 实现ChatManageServiceImpl中的getParseInfos具体逻辑
- 优化SqlReplaceHelper中的代码格式化处理
- 支持根据questionId批量获取多个语义解析结果
This commit is contained in:
jerryjzhang
2026-04-21 14:14:27 +08:00
parent 0bbab5e7b1
commit aa86e3f02a
3 changed files with 13 additions and 1 deletions

View File

@@ -194,7 +194,8 @@ public class SqlReplaceHelper {
setOperationList.getSelects().forEach(subSelectBody -> {
if (subSelectBody instanceof PlainSelect) {
PlainSelect subPlainSelect = (PlainSelect) subSelectBody;
replaceFieldsInPlainOneSelect(fieldNameMap, exactReplace, subPlainSelect);
replaceFieldsInPlainOneSelect(fieldNameMap, exactReplace,
subPlainSelect);
} else if (subSelectBody instanceof ParenthesedSelect) {
replaceFieldsInPlainOneSelect(fieldNameMap, exactReplace,
((ParenthesedSelect) subSelectBody).getPlainSelect());