mirror of
https://github.com/dataease/dataease.git
synced 2026-05-14 12:22:10 +08:00
refactor: 对接SQLBot接口增加oracle连接模式
This commit is contained in:
@@ -97,9 +97,6 @@ public class DatasetSQLBotManage {
|
||||
@Value("${dataease.sqlbot.log:false}")
|
||||
private boolean sqlbotApiLog;
|
||||
|
||||
@Value("${dataease.sqlbot.ds-id-fixed:false}")
|
||||
private boolean dsIdFixed;
|
||||
|
||||
@Resource
|
||||
private ExtChartViewMapper extChartViewMapper;
|
||||
|
||||
@@ -549,9 +546,6 @@ public class DatasetSQLBotManage {
|
||||
vo.setSchema(config.getSchema());
|
||||
vo.setUser(config.getUsername());
|
||||
vo.setPassword(config.getPassword());
|
||||
if (dsIdFixed) {
|
||||
vo.setId(Long.parseLong(row.get("cd_id").toString()));
|
||||
}
|
||||
row.put("cd_configuration", config_json);
|
||||
Map<String, Object> rowData = buildRowData(row, 0);
|
||||
rowData.put("id", Long.parseLong(row.get("cd_id").toString()));
|
||||
|
||||
@@ -33,6 +33,8 @@ public class DataSQLBotAssistantVO implements Serializable {
|
||||
|
||||
private String comment;
|
||||
|
||||
private String mode;
|
||||
|
||||
private List<SQLBotAssistanTable> tables = new ArrayList<>();
|
||||
|
||||
@JsonIgnore
|
||||
|
||||
Reference in New Issue
Block a user