| File was renamed from ruoyi-system/src/main/java/com/ruoyi/system/service/ITTestService.java |
| | |
| | | package com.ruoyi.system.service; |
| | | package com.battery.business.service; |
| | | |
| | | import java.util.List; |
| | | import com.ruoyi.system.domain.TTest; |
| | | import com.ruoyi.system.domain.TTestResult; |
| | | import com.ruoyi.system.domain.vo.TestConfigurationOptionsVo; |
| | | import com.ruoyi.system.domain.TTestLogicStepMapping; |
| | | import com.ruoyi.system.domain.TTestConsoleDetail; |
| | | import com.battery.business.domain.TTest; |
| | | import com.battery.business.domain.vo.TestConfigurationOptionsVo; |
| | | import com.battery.business.domain.TTestLogicStepMapping; |
| | | import com.battery.business.domain.TTestConsoleDetail; |
| | | |
| | | /** 测试配置业务接口。 */ |
| | | public interface ITTestService |
| | |
| | | /** 仅在尚未开始接收时替换测试配置。 */ |
| | | int updateTest(TTest test); |
| | | |
| | | /** 旧服务入口已停用;调用方须使用带操作人的原子开始接收方法。 */ |
| | | int startTest(Long testId, String updateBy); |
| | | |
| | | /** 原子开始接收:校验全部来源并开启测试数据请求。 */ |
| | | int startReception(Long testId, Long operatorId, String updateBy); |
| | | |
| | |
| | | /** 原子停止测试:停止数据请求并进入不可恢复终态。 */ |
| | | int stopTest(Long testId, Long operatorId, String updateBy); |
| | | |
| | | /** 仅物理删除未开始接收的待测试记录;测试整体删除不写审计或修订记录。 */ |
| | | /** 在任意生命周期原子清理测试及全部子数据,不写审计、修订或墓碑。 */ |
| | | int deleteTestByIds(Long[] testIds, Long operatorId, String updateBy); |
| | | |
| | | /** 查询指定测试已持久化的结果记录。 */ |
| | | List<TTestResult> selectTestResults(TTestResult result); |
| | | /** 保存当前测试的逻辑工步合并规则。 */ |
| | | int saveLogicStepMappings(Long testId, List<TTestLogicStepMapping> mappings, Long operatorId, String updateBy); |
| | | /** 保存测试详情当前最新版,允许所有测试状态且不产生审计记录。 */ |