Commit 49941275 authored by alex yao's avatar alex yao

feat: database数据表查询

parent e76e9991
......@@ -1205,6 +1205,7 @@ public class AgentApplicationServiceImpl implements AgentApplicationService {
dbChainResponse.setMysqlDatabase(bizKnowledgeDatabaseEntity.getDbName());
DBChainResult dbChainResult = chainService.dbChain(dbChainResponse);
if (dbChainResult != null) {
dbChainResult.setSql("```SQL\n" + dbChainResult.getSql() + "\n```");
results.add(dbChainResult);
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment