循环、轮询冲突解决
This commit is contained in:
@@ -1,5 +1,10 @@
|
|||||||
package com.test.test.service;
|
package com.test.test.service;
|
||||||
|
|
||||||
|
import com.test.test.domain.TestCase;
|
||||||
|
import com.test.test.domain.qo.TestCaseListQO;
|
||||||
|
|
||||||
|
import java.util.List;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 用例Service接口
|
* 用例Service接口
|
||||||
*
|
*
|
||||||
@@ -19,10 +24,10 @@ public interface ITestCaseService
|
|||||||
/**
|
/**
|
||||||
* 查询用例列表
|
* 查询用例列表
|
||||||
*
|
*
|
||||||
* @param testCase 用例
|
* @param qo 用例
|
||||||
* @return 用例集合
|
* @return 用例集合
|
||||||
*/
|
*/
|
||||||
public List<TestCase> selectTestCaseList(TestCase testCase);
|
public List<TestCase> selectTestCaseList(TestCaseListQO qo);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 新增用例
|
* 新增用例
|
||||||
|
|||||||
@@ -8,10 +8,7 @@ import com.test.common.utils.StringUtils;
|
|||||||
import com.test.test.domain.TestCase;
|
import com.test.test.domain.TestCase;
|
||||||
import com.test.test.domain.TestCaseResult;
|
import com.test.test.domain.TestCaseResult;
|
||||||
import com.test.test.domain.TestCaseStep;
|
import com.test.test.domain.TestCaseStep;
|
||||||
import com.test.test.domain.qo.AssertRule;
|
import com.test.test.domain.qo.*;
|
||||||
import com.test.test.domain.qo.AssertRuleResult;
|
|
||||||
import com.test.test.domain.qo.ExtractionRule;
|
|
||||||
import com.test.test.domain.qo.ExtractionRuleResult;
|
|
||||||
import com.test.test.mapper.TestCaseMapper;
|
import com.test.test.mapper.TestCaseMapper;
|
||||||
import com.test.test.mapper.TestCaseResultMapper;
|
import com.test.test.mapper.TestCaseResultMapper;
|
||||||
import com.test.test.service.ITestCaseService;
|
import com.test.test.service.ITestCaseService;
|
||||||
@@ -61,13 +58,12 @@ public class TestCaseServiceImpl implements ITestCaseService
|
|||||||
/**
|
/**
|
||||||
* 查询用例列表
|
* 查询用例列表
|
||||||
*
|
*
|
||||||
* @param testCase 用例
|
* @param qo 用例
|
||||||
* @return 用例
|
* @return 用例
|
||||||
*/
|
*/
|
||||||
@Override
|
@Override
|
||||||
public List<TestCase> selectTestCaseList(TestCase testCase)
|
public List<TestCase> selectTestCaseList(TestCaseListQO qo) {
|
||||||
{
|
return testCaseMapper.selectTestCaseList(qo);
|
||||||
return testCaseMapper.selectTestCaseList(testCase);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user