| | |
| | | import java.util.List; |
| | | import com.ruoyi.system.domain.TTest; |
| | | import com.ruoyi.system.domain.TTestResult; |
| | | import com.ruoyi.system.domain.vo.TestConfigurationOptionsVo; |
| | | |
| | | /** 测试管理服务接口。 */ |
| | | /** 测试配置业务接口。 */ |
| | | public interface ITTestService |
| | | { |
| | | /** 返回测试配置、正式测试状态和独立监测状态。 */ |
| | | TTest selectTestById(Long testId); |
| | | |
| | | List<TTest> selectTestList(TTest test); |
| | | int insertTest(TTest test); |
| | | |
| | | /** 返回当前启用且已正式登记的测试配置选项。 */ |
| | | TestConfigurationOptionsVo selectConfigurationOptions(); |
| | | |
| | | /** 创建未监测的待测试记录并返回测试标识。 */ |
| | | Long createTest(TTest test); |
| | | |
| | | /** 仅在尚未开始监测时替换测试配置。 */ |
| | | int updateTest(TTest test); |
| | | |
| | | int startTest(Long testId, String updateBy); |
| | | int deleteTestByIds(Long[] testIds, String updateBy); |
| | | List<TTestResult> selectTestResults(TTestResult result); |