| | |
| | | package com.fzzy.api.view.repository; |
| | | |
| | | import com.fzzy.api.entity.Api1107; |
| | | import com.fzzy.api.entity.Api1112; |
| | | import org.springframework.data.jpa.repository.JpaRepository; |
| | | import org.springframework.data.jpa.repository.Modifying; |
| | | import org.springframework.data.jpa.repository.Query; |
| | | import org.springframework.data.repository.query.Param; |
| | | import org.springframework.transaction.annotation.Transactional; |
| | | |
| | | import java.util.Date; |
| | | import java.util.List; |
| | | |
| | | |
| | |
| | | @Query("from Api1107 where kqdm=:kqdm") |
| | | List<Api1107> findPushData(@Param("kqdm") String kqdm); |
| | | |
| | | /** |
| | | * |
| | | * @param kqdm |
| | | * @return |
| | | */ |
| | | @Query("from Api1107 where kqdm=:kqdm and zhgxsj >=:start and zhgxsj <:end order by zhgxsj ") |
| | | List<Api1107> findPushDataTime(@Param("kqdm") String kqdm, @Param("start") Date start, @Param("end") Date end); |
| | | |
| | | |
| | | @Query("from Api1107 where bizId=:bizId ") |
| | | List<Api1107> getDataByBizId(@Param("bizId") String bizId); |
| | | } |