|  |  |  | 
|---|
|  |  |  | package com.fzzy.async.fzzy40.repository; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | import com.fzzy.async.fzzy40.entity.Fz40AreationData; | 
|---|
|  |  |  | import com.fzzy.async.fzzy40.entity.Fz40DrugLog; | 
|---|
|  |  |  | import org.springframework.data.jpa.repository.JpaRepository; | 
|---|
|  |  |  | import org.springframework.data.jpa.repository.Query; | 
|---|
|  |  |  | import org.springframework.data.repository.query.Param; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | import java.util.Date; | 
|---|
|  |  |  | import java.util.List; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | 
|---|
|  |  |  | * @param end | 
|---|
|  |  |  | * @return | 
|---|
|  |  |  | */ | 
|---|
|  |  |  | @Query("from Fz40DrugLog where start >=:start and start <:end order by start ") | 
|---|
|  |  |  | @Query("from Fz40DrugLog where updateTime >=:start and updateTime <:end order by updateTime ") | 
|---|
|  |  |  | List<Fz40DrugLog> findByReceiveDate(@Param("start") Date start, @Param("end") Date end); | 
|---|
|  |  |  | } | 
|---|