refactor(测试跟踪): 批量删除公共用例库去掉线程
This commit is contained in:
parent
a4b8e45c5d
commit
22b1851ff2
|
@ -2621,16 +2621,10 @@ public class TestCaseService {
|
|||
}
|
||||
|
||||
public void deleteTestCasePublic(String versionId, String refId) {
|
||||
Thread thread = new Thread(new Runnable() {
|
||||
@Override
|
||||
public void run() {
|
||||
TestCase testCase = new TestCase();
|
||||
testCase.setRefId(refId);
|
||||
testCase.setVersionId(versionId);
|
||||
extTestCaseMapper.deletePublic(testCase);
|
||||
}
|
||||
});
|
||||
thread.start();
|
||||
TestCase testCase = new TestCase();
|
||||
testCase.setRefId(refId);
|
||||
testCase.setVersionId(versionId);
|
||||
extTestCaseMapper.deletePublic(testCase);
|
||||
}
|
||||
|
||||
public Boolean hasOtherInfo(String caseId) {
|
||||
|
|
Loading…
Reference in New Issue