fix(测试跟踪): 修复评审用例页面按创建时间排序后,切换脑图展开报错问题

--bug=1033228 --user=王旭 【测试跟踪】github#27726,【测试跟踪-用例评审】根据创建时间倒序后,切换到脑图页面,然后展开脑图到用例层级,页面就提示错误 https://www.tapd.cn/55049933/s/1442916
This commit is contained in:
WangXu10 2023-12-11 17:17:49 +08:00 committed by jianxing
parent d58df0ff10
commit 3b425dac20
1 changed files with 3 additions and 0 deletions

View File

@ -725,6 +725,9 @@ public class TestReviewTestCaseService {
if (order.getName().equals("update_time")) { if (order.getName().equals("update_time")) {
order.setPrefix("tcrtc"); order.setPrefix("tcrtc");
} }
if (order.getName().equals("create_time")) {
order.setPrefix("tcrtc");
}
}); });
request.setOrders(orders); request.setOrders(orders);
return extTestReviewCaseMapper.listForMinder(request); return extTestReviewCaseMapper.listForMinder(request);