| | |
| | | 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; |
| | | |
| | | |
| | | public interface Api1109Rep extends JpaRepository<Api1109, String> , JpaSpecificationExecutor<Api1109> { |
| | | |
| | |
| | | @Modifying |
| | | @Query("update Api1109 set czbz =:czbz where id=:id") |
| | | void updateStatus(@Param("id") String id, @Param("czbz") String czbz); |
| | | |
| | | @Query("from Api1109 where bizId=:bizId ") |
| | | List<Api1109> getDataByBizId(@Param("bizId") String bizId); |
| | | |
| | | @Query("from Api1109 where kqdm=:kqdm and zhgxsj >=:start and zhgxsj <:end order by zhgxsj ") |
| | | List<Api1109> findPushDataByTime(@Param("kqdm") String kqdm, @Param("start") Date start, @Param("end") Date end); |
| | | } |