fix(测试跟踪): 功能用例全选导出报错

--bug=1016555 --user=陈建星 【测试跟踪】github #17630,选择用例导出,超过200条时会报500错误,接口返回“请求没有setIds方法”,一直加载(导出用例失败) https://www.tapd.cn/55049933/s/1239137
This commit is contained in:
AnAngle 2022-09-05 18:05:17 +08:00 committed by f2c-ci-robot[bot]
parent ee08b6f390
commit f01b30a811
1 changed files with 1 additions and 1 deletions

View File

@ -111,7 +111,7 @@ public class ServiceUtils {
}
queryRequest.setIds(ids);
try {
Method setIds = batchRequest.getClass().getDeclaredMethod("setIds", List.class);
Method setIds = batchRequest.getClass().getMethod("setIds", List.class);
setIds.invoke(batchRequest, ids);
} catch (Exception e) {
LogUtil.error(e.getMessage(), e);