| | |
| | | public TestDataQueryServiceImpl(TTestMapper mapper, ITTestService tests) |
| | | { this.mapper = mapper; this.tests = tests; } |
| | | |
| | | /** 查询实时槽位,保留检测柜和采集器各自的设备时间。 */ |
| | | /** 查询尚存实时采样与授权历史导入记录,保留检测柜和采集器各自的设备时间。 */ |
| | | @Override public List<Map<String, Object>> records(Long testId) |
| | | { |
| | | tests.selectTestById(testId); |
| | | return normalizeApiTimes(mapper.selectPersistedFinalRealtimeRecords(testId)); |
| | | } |
| | | |
| | | /** 查询设备实际提供且尚存的工步记录。 */ |
| | | /** 查询尚存工步记录,包含设备统计与授权历史导入。 */ |
| | | @Override public List<Map<String, Object>> steps(Long testId) |
| | | { |
| | | tests.selectTestById(testId); |
| | |
| | | return rows; |
| | | } |
| | | |
| | | /** 查询设备实际提供且尚存的循环记录。 */ |
| | | /** 查询尚存循环记录,包含设备统计与授权历史导入。 */ |
| | | @Override public List<Map<String, Object>> cycles(Long testId) |
| | | { |
| | | tests.selectTestById(testId); |