fix(测试跟踪): 功能用例全选导出报错
--bug=1016555 --user=陈建星 【测试跟踪】github #17630,选择用例导出,超过200条时会报500错误,接口返回“请求没有setIds方法”,一直加载(导出用例失败) https://www.tapd.cn/55049933/s/1239137
This commit is contained in:
parent
ee08b6f390
commit
f01b30a811
|
@ -111,7 +111,7 @@ public class ServiceUtils {
|
||||||
}
|
}
|
||||||
queryRequest.setIds(ids);
|
queryRequest.setIds(ids);
|
||||||
try {
|
try {
|
||||||
Method setIds = batchRequest.getClass().getDeclaredMethod("setIds", List.class);
|
Method setIds = batchRequest.getClass().getMethod("setIds", List.class);
|
||||||
setIds.invoke(batchRequest, ids);
|
setIds.invoke(batchRequest, ids);
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
LogUtil.error(e.getMessage(), e);
|
LogUtil.error(e.getMessage(), e);
|
||||||
|
|
Loading…
Reference in New Issue