refactor(测试跟踪): 批量删除公共用例库去掉线程
This commit is contained in:
parent
d75eb7093c
commit
e3c2ff9e10
|
@ -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