0627 ljc 测试用例管理模块代码编写

This commit is contained in:
HopeLi 2025-06-27 16:43:11 +08:00
parent 3685c0a312
commit 7e10bcb7e9

View File

@ -25,7 +25,6 @@ import jakarta.annotation.Resource;
import lombok.extern.slf4j.Slf4j;
import org.apache.commons.lang3.StringUtils;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
import org.springframework.util.ObjectUtils;
import java.util.ArrayList;
@ -59,7 +58,6 @@ public class TestCaseManagerServiceImpl extends ServiceImpl<TestCaseManagerDao,
}
@Override
@Transactional(rollbackFor = Exception.class)
public void delete(String id) throws JSchException, InterruptedException {
TestCaseManager testCaseManager = testCaseManagerDao.selectById(id);
if (ObjectUtils.isEmpty(testCaseManager)){