CZT
2023-11-13 cd091408dcff794e3001e43b99a6d521cfff36dc
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);
}