mirror of
https://github.com/vran-dev/databasir.git
synced 2025-09-19 02:06:59 +08:00
fix: duplicate search result
This commit is contained in:
@@ -238,7 +238,7 @@ public class DocumentService {
|
||||
GroupPojo group = groupDao.selectById(project.getGroupId());
|
||||
List<TableColumnDocumentPojo> columns = tableColumnDocumentDao.selectByTableDocumentId(table.getId());
|
||||
// clear outdated data before save
|
||||
documentFullTextDao.deleteByTableId(table.getId());
|
||||
documentFullTextDao.deleteTableFullText(table.getId());
|
||||
List<DocumentFullTextPojo> fullTextPojoList = columns.stream()
|
||||
.map(column -> {
|
||||
String tableName = table.getName();
|
||||
|
Reference in New Issue
Block a user