fix(接口测试): 添加到测试计划弹窗列表顺序不一致

--bug=1027137 --user=宋昌昌 【接口测试】场景列表-场景列表-批量操作-添加到测试计划-列表数据和计划列表显示顺序不一致 https://www.tapd.cn/55049933/s/1386410
This commit is contained in:
song-cc-rock 2023-06-26 17:28:59 +08:00 committed by fit2-zhao
parent 94498e8318
commit 5c7864c9ab
1 changed files with 1 additions and 0 deletions

View File

@ -803,6 +803,7 @@ public class TestPlanService {
}
public List<TestPlanDTO> planListAll(QueryTestPlanRequest request) {
request.setOrders(ServiceUtils.getDefaultOrder(request.getOrders()));
if (StringUtils.isNotBlank(request.getProjectId())) {
request.setProjectId(request.getProjectId());
}