| | |
| | | import org.springframework.data.repository.query.Param; |
| | | import org.springframework.transaction.annotation.Transactional; |
| | | |
| | | import java.util.Date; |
| | | import java.util.List; |
| | | |
| | | public interface Api1111Rep extends JpaRepository<Api1111, String> { |
| | |
| | | @Query("from Api1111 where spjksbid=:spjksbid") |
| | | List<Api1111> getApi1111ById(@Param("spjksbid") String spjksbid); |
| | | |
| | | /** |
| | | * |
| | | * @param kqdm |
| | | * @return |
| | | */ |
| | | @Query("from Api1111 where kqdm=:kqdm and zhgxsj >=:start and zhgxsj <:end order by zhgxsj ") |
| | | List<Api1111> findPushDataTime(@Param("kqdm") String kqdm, @Param("start") Date start, @Param("end") Date end); |
| | | |
| | | /** |
| | | * 根据业务ID获取监控点位信息 |
| | | * @param bizId |
| | | * @return |
| | | */ |
| | | @Query("from Api1111 where bizId=:bizId") |
| | | List<Api1111> getApi1111ByBizId(@Param("bizId") String bizId); |
| | | } |