| | |
| | | @Param("metricCode") String metricCode, @Param("value") java.math.BigDecimal value, |
| | | @Param("unit") String unit, @Param("ruleSnapshot") String ruleSnapshot, |
| | | @Param("severity") String severity, @Param("occurredAt") Date occurredAt); |
| | | /** 查询异常事实;不从设备状态或缺失数据推导异常。 */ |
| | | /** 查询绑定来源的离线事实,同一采集器的多通道绑定只返回一次。 */ |
| | | List<com.battery.business.domain.vo.OfflineTestSource> selectOfflineTestSources(Long testId); |
| | | /** 以测试和来源身份聚合离线异常,不写入阈值或测量值。 */ |
| | | int upsertOfflineException(@Param("testId") Long testId, @Param("sourceType") String sourceType, |
| | | @Param("sourceIdentity") String sourceIdentity, @Param("occurredAt") Date occurredAt); |
| | | /** 查询已持久化的阈值及离线异常事实。 */ |
| | | List<TTestWarningException> selectWarningExceptions(@Param("testId") Long testId, |
| | | @Param("status") String status); |
| | | TTestWarningException selectWarningExceptionById(Long exceptionId); |