fix: 脑图无法删除用例
This commit is contained in:
parent
fe484a425d
commit
8ffa57619b
|
@ -1319,10 +1319,7 @@ public class TestCaseService {
|
|||
|
||||
public void minderEdit(TestCaseMinderEditRequest request) {
|
||||
List<TestCaseWithBLOBs> data = request.getData();
|
||||
if (CollectionUtils.isEmpty(data)) {
|
||||
return;
|
||||
}
|
||||
|
||||
if (CollectionUtils.isNotEmpty(data)) {
|
||||
List<String> editIds = data.stream()
|
||||
.filter(t -> StringUtils.isNotBlank(t.getId()) && t.getId().length() > 20)
|
||||
.map(TestCaseWithBLOBs::getId).collect(Collectors.toList());
|
||||
|
@ -1353,6 +1350,7 @@ public class TestCaseService {
|
|||
editTestCase(item);
|
||||
}
|
||||
});
|
||||
}
|
||||
List<String> ids = request.getIds();
|
||||
if (CollectionUtils.isNotEmpty(ids)) {
|
||||
TestCaseBatchRequest deleteRequest = new TestCaseBatchRequest();
|
||||
|
|
Loading…
Reference in New Issue