mirror of
https://github.com/dataease/dataease.git
synced 2026-05-15 05:22:13 +08:00
perf: 对接 SQLBot 使用 SQL 数据集找不到资源
This commit is contained in:
committed by
fit2cloud-chenyw
parent
ec9227144d
commit
bf4d66b7db
@@ -538,7 +538,7 @@ public class DatasetSQLBotManage {
|
||||
String sql = new String(Base64.getDecoder().decode(tableInfoDTO.getSql()));
|
||||
table.setSql(sql);
|
||||
}
|
||||
if (StringUtils.isNotBlank(tableInfoDTO.getTable())) {
|
||||
if (StringUtils.isBlank(tableInfoDTO.getSql()) && StringUtils.isNotBlank(tableInfoDTO.getTable())) {
|
||||
table.setName(tableInfoDTO.getTable());
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user