0627 ljc 测试用例管理模块代码编写
This commit is contained in:
parent
3685c0a312
commit
7e10bcb7e9
@ -25,7 +25,6 @@ import jakarta.annotation.Resource;
|
|||||||
import lombok.extern.slf4j.Slf4j;
|
import lombok.extern.slf4j.Slf4j;
|
||||||
import org.apache.commons.lang3.StringUtils;
|
import org.apache.commons.lang3.StringUtils;
|
||||||
import org.springframework.stereotype.Service;
|
import org.springframework.stereotype.Service;
|
||||||
import org.springframework.transaction.annotation.Transactional;
|
|
||||||
import org.springframework.util.ObjectUtils;
|
import org.springframework.util.ObjectUtils;
|
||||||
|
|
||||||
import java.util.ArrayList;
|
import java.util.ArrayList;
|
||||||
@ -59,7 +58,6 @@ public class TestCaseManagerServiceImpl extends ServiceImpl<TestCaseManagerDao,
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
@Transactional(rollbackFor = Exception.class)
|
|
||||||
public void delete(String id) throws JSchException, InterruptedException {
|
public void delete(String id) throws JSchException, InterruptedException {
|
||||||
TestCaseManager testCaseManager = testCaseManagerDao.selectById(id);
|
TestCaseManager testCaseManager = testCaseManagerDao.selectById(id);
|
||||||
if (ObjectUtils.isEmpty(testCaseManager)){
|
if (ObjectUtils.isEmpty(testCaseManager)){
|
||||||
|
Loading…
x
Reference in New Issue
Block a user