| | |
| | | import com.ruoyi.common.enums.BusinessType; |
| | | import com.ruoyi.system.domain.TTest; |
| | | import com.ruoyi.system.domain.TTestResult; |
| | | import com.ruoyi.system.domain.TTestResultQuery; |
| | | import com.ruoyi.system.service.ITTestService; |
| | | |
| | | /** 测试管理 Controller。 */ |
| | |
| | | return getDataTable(testService.selectTestResults(result)); |
| | | } |
| | | |
| | | /** 统一历史结果查询;仅返回检测完成测试的区间原始采样。 */ |
| | | @PreAuthorize("@ss.hasPermi('system:test:query')") |
| | | @GetMapping("/results") |
| | | public TableDataInfo historicalResults(TTestResultQuery query) |
| | | { |
| | | startPage(); |
| | | return getDataTable(testService.selectHistoricalResultRecords(query)); |
| | | } |
| | | } |