|  |  |  | 
|---|
|  |  |  | 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 Api1303 where hcjcdh=:hcjcdh ") | 
|---|
|  |  |  | List<Api1303> getDataByHcjcdh(@Param("hcjcdh") String hcjcdh); | 
|---|
|  |  |  |  | 
|---|
|  |  |  | @Query("from Api1303 where kqdm=:kqdm and zhgxsj >=:start and zhgxsj <:end order by zhgxsj ") | 
|---|
|  |  |  | List<Api1303> findPushDataByTime(@Param("kqdm") String kqdm, @Param("start") Date start, @Param("end") Date end); | 
|---|
|  |  |  |  | 
|---|
|  |  |  | @Query("from Api1303 where bizId=:bizId ") | 
|---|
|  |  |  | List<Api1303> getDataByBizId(@Param("bizId") String bizId); | 
|---|
|  |  |  | } | 
|---|