fix(测试跟踪):功能用例-编辑-关联现有缺陷-按平台依次关联-列表数据乱序-未按关联顺序显示

--bug=1025052 --user=王旭 【测试跟踪】功能用例-编辑-关联现有缺陷-按平台依次关联-列表数据乱序-未按关联顺序显示 https://www.tapd.cn/55049933/s/1358581
This commit is contained in:
WangXu10 2023-04-03 14:46:42 +08:00 committed by jianxing
parent 2db3a6abef
commit e2b99d756c

View File

@ -437,7 +437,7 @@ public class IssuesService {
public List<IssuesDao> getIssues(String caseResourceId, String refType) {
IssuesRequest issueRequest = new IssuesRequest();
issueRequest.setCaseResourceId(caseResourceId);
ServiceUtils.getDefaultOrder(issueRequest.getOrders());
issueRequest.setOrders(ServiceUtils.getDefaultOrder(issueRequest.getOrders(),"relate_time"));
issueRequest.setRefType(refType);
List<IssuesDao> issues = extIssuesMapper.getIssuesByCaseId(issueRequest);
Map<String, User> userMap = getUserMap(issues);