fix(测试跟踪): 功能测试用例未按照顺序导出至excel

--bug=1013625 --user=李玉号
[测试跟踪]github#13694功能测试用例导出excel后,无法按照功能测试用例列表顺序导出
https://www.tapd.cn/55049933/s/1176219

Closes #13694
This commit is contained in:
shiziyuan9527 2022-06-08 15:07:31 +08:00 committed by shiziyuan9527
parent 26b1046347
commit aef3edfb3e
1 changed files with 1 additions and 1 deletions

View File

@ -1499,7 +1499,7 @@ public class TestCaseService {
QueryTestCaseRequest condition = request.getCondition();
List<OrderRequest> orderList = new ArrayList<>();
if (condition != null) {
orderList = ServiceUtils.getDefaultSortOrder(request.getOrders());
orderList = ServiceUtils.getDefaultSortOrder(condition.getOrders());
}
OrderRequest order = new OrderRequest();
order.setName("sort");