Commit e87ddb44 authored by alex yao's avatar alex yao

fix:修复知识库列表排序

parent 0a155dab
...@@ -15,10 +15,7 @@ import org.apache.commons.collections.CollectionUtils; ...@@ -15,10 +15,7 @@ import org.apache.commons.collections.CollectionUtils;
import org.springframework.stereotype.Component; import org.springframework.stereotype.Component;
import javax.annotation.Resource; import javax.annotation.Resource;
import java.util.ArrayList; import java.util.*;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
/** /**
* @author alex.yao * @author alex.yao
...@@ -43,7 +40,7 @@ public class AiDialoguesKnowledgeRestImpl implements AiDialoguesKnowledgeRest { ...@@ -43,7 +40,7 @@ public class AiDialoguesKnowledgeRestImpl implements AiDialoguesKnowledgeRest {
if (ObjectUtil.isEmpty(userBaseEntity)) { if (ObjectUtil.isEmpty(userBaseEntity)) {
throw new BusinessException("用户未登录"); throw new BusinessException("用户未登录");
} }
Map<String, List<AiDialoguesKnowledgeDto>> result = new HashMap<>(); Map<String, List<AiDialoguesKnowledgeDto>> result = new LinkedHashMap<>();
KnowledgeInfosQueryCondition condition = new KnowledgeInfosQueryCondition(); KnowledgeInfosQueryCondition condition = new KnowledgeInfosQueryCondition();
......
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