fix(测试跟踪): 功能用例回收站恢复报错
This commit is contained in:
parent
11d2eb2922
commit
9ea4082e4d
|
@ -2244,8 +2244,8 @@ public class TestCaseService {
|
|||
}
|
||||
|
||||
public void reduction(TestCaseBatchRequest request) {
|
||||
List<String> ids = new ArrayList<>();
|
||||
if (request.getCondition().isSelectAll()) {
|
||||
List<String> ids;
|
||||
if (request.getCondition() != null && request.getCondition().isSelectAll()) {
|
||||
List<TestCaseDTO> allReductionTestCases = listTestCase(request.getCondition());
|
||||
ids = allReductionTestCases.stream().map(TestCaseDTO::getId).collect(Collectors.toList());
|
||||
} else {
|
||||
|
|
Loading…
Reference in New Issue