fix: checkstyle
This commit is contained in:
parent
e76ccd8268
commit
5cb679d161
|
@ -47,7 +47,6 @@ public interface DocumentResponseConverter {
|
|||
.collect(Collectors.toList());
|
||||
}
|
||||
|
||||
|
||||
@Mapping(target = "columnNames", source = "columnNameArray")
|
||||
DatabaseDocumentResponse.TableDocumentResponse.IndexDocumentResponse of(TableIndexDocumentPojo indexDocument);
|
||||
|
||||
|
|
|
@ -233,9 +233,10 @@ public class DocumentService {
|
|||
var subIndexes = indexesGroupByTableMetaId.getOrDefault(tableId, Collections.emptyList());
|
||||
var subTriggers = triggersGroupByTableMetaId.getOrDefault(tableId, Collections.emptyList());
|
||||
var discussionCount = discussionCountMapByJoinName.get(table.getName());
|
||||
var columnResponseList =
|
||||
var columnResponses =
|
||||
documentResponseConverter.of(subColumns, table.getName(), discussionCountMapByJoinName);
|
||||
return documentResponseConverter.of(table, discussionCount, columnResponseList, subIndexes, subTriggers);
|
||||
return documentResponseConverter.of(table, discussionCount, columnResponses, subIndexes,
|
||||
subTriggers);
|
||||
})
|
||||
.collect(Collectors.toList());
|
||||
}
|
||||
|
|
|
@ -47,7 +47,8 @@ public class DocumentDiscussionService {
|
|||
Pageable pageable,
|
||||
DiscussionListCondition condition) {
|
||||
if (projectDao.exists(groupId, projectId)) {
|
||||
Page<DocumentDiscussionPojo> data = documentDiscussionDao.selectByPage(pageable, condition.toCondition(projectId));
|
||||
Page<DocumentDiscussionPojo> data =
|
||||
documentDiscussionDao.selectByPage(pageable, condition.toCondition(projectId));
|
||||
Set<Integer> userIdList = data.getContent()
|
||||
.stream()
|
||||
.map(DocumentDiscussionPojo::getUserId)
|
||||
|
|
Loading…
Reference in New Issue