| | |
| | | import org.springframework.data.elasticsearch.repository.ElasticsearchRepository; |
| | | import org.springframework.stereotype.Repository; |
| | | |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * @author zhibing.pu |
| | | * @Date 2025/3/7 16:10 |
| | | */ |
| | | @Repository |
| | | public interface UPExgMsgRegisterDao extends ElasticsearchRepository<UPExgMsgRegister, Long> { |
| | | public interface UPExgMsgRegisterDao extends ElasticsearchRepository<UPExgMsgRegister, String> { |
| | | |
| | | /** |
| | | * 根据车牌号查询数据 |
| | | * |
| | | * @param vehicleNo |
| | | * @return |
| | | */ |
| | | UPExgMsgRegister findByVehicleNo(String vehicleNo); |
| | | |
| | | |
| | | /** |
| | | * 查询添加时间大于等于给定时间的数据 |
| | | * |
| | | * @param createTime |
| | | * @return |
| | | */ |
| | | List<UPExgMsgRegister> findByCreateTimeIsAfter(Long createTime); |
| | | } |