Pu Zhibing
2025-04-04 3d4eeb82dd61f8951616dece2425e870116bc23d
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
package com.ruoyi.dataInterchange.dao;
 
import com.ruoyi.dataInterchange.model.UPWarnMsgAdptInfo;
import org.springframework.data.elasticsearch.repository.ElasticsearchRepository;
import org.springframework.stereotype.Repository;
 
import java.util.List;
 
/**
 * @author zhibing.pu
 * @Date 2025/3/7 19:30
 */
@Repository
public interface UPWarnMsgAdptInfoDao extends ElasticsearchRepository<UPWarnMsgAdptInfo, String> {
    
    
    /**
     * 根据处理状态查询数据
     *
     * @param result
     * @return
     */
    List<UPWarnMsgAdptInfo> findByResultIsAndPushTimeBefore(int result, long pushTime);
    
    
    /**
     * 查询大于给定时间的所有数据
     *
     * @param createTime
     * @return
     */
    List<UPWarnMsgAdptInfo> findByCreateTimeAfter(Long createTime);
    
}