Commit 12c2db22 authored by alex yao's avatar alex yao

fix:获取对话列表过滤Title为空

parent e87ddb44
......@@ -91,6 +91,7 @@ public class AiDialoguesServiceImpl implements AiDialoguesService {
List<AiDialoguesRecordDto> result = new ArrayList<>();
if (CollectionUtils.isNotEmpty(entities)) {
result = entities.stream()
.filter(entity -> StringUtils.isNotBlank(entity.getTitle()))
.map(entity -> {
AiDialoguesRecordDto dto = new AiDialoguesRecordDto();
dto.setDialoguesId(entity.getDialoguesId());
......
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