| | |
| | | * @Date 2025/3/7 19:30 |
| | | */ |
| | | @Repository |
| | | public interface UPWarnMsgAdptInfoDao extends ElasticsearchRepository<UPWarnMsgAdptInfo, Long> { |
| | | public interface UPWarnMsgAdptInfoDao extends ElasticsearchRepository<UPWarnMsgAdptInfo, String> { |
| | | |
| | | |
| | | /** |
| | |
| | | * @param result |
| | | * @return |
| | | */ |
| | | List<UPWarnMsgAdptInfo> findByResultIs(int result); |
| | | List<UPWarnMsgAdptInfo> findByResultIsAndLevelNotNullAndPushTimeBefore(int result, long pushTime); |
| | | |
| | | |
| | | /** |
| | | * 查询大于给定时间的所有数据 |
| | | * |
| | | * @param createTime |
| | | * @return |
| | | */ |
| | | List<UPWarnMsgAdptInfo> findByCreateTimeAfter(Long createTime); |
| | | |
| | | |
| | | /** |
| | | * 根据信息id查询数据 |
| | | * |
| | | * @param infoId |
| | | * @return |
| | | */ |
| | | UPWarnMsgAdptInfo findByInfoIdIs(String infoId); |
| | | |
| | | } |