YYC
2023-08-22 05e8b6c56a6c1743f2ca8a4d642c3c7ee3b63007
src/main/java/com/fzzy/api/view/repository/Api1303Rep.java
@@ -7,7 +7,7 @@
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;
@@ -23,4 +23,7 @@
    @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);
}