CZT
2024-01-15 a1d6638c3dad0a2c42aa3f35b0c080738f69bd9b
src/main/java/com/fzzy/async/fzzy40/repository/Fzzy40Sync1108Rep.java
@@ -5,6 +5,7 @@
import org.springframework.data.jpa.repository.Query;
import org.springframework.data.repository.query.Param;
import java.util.Date;
import java.util.List;
/**
@@ -14,6 +15,6 @@
 */
public interface Fzzy40Sync1108Rep extends JpaRepository<Fz40Drug, String> {
    @Query("from Fz40Drug where deptId=:deptId order by id")
    List<Fz40Drug> listDrug(@Param("deptId") String deptId);
    @Query("from Fz40Drug where deptId=:deptId and updateTime >=:start and updateTime <:end order by updateTime ")
    List<Fz40Drug> listDrug(@Param("deptId") String deptId, @Param("start") Date start, @Param("end") Date end);
}