CZT
2023-08-10 7ac1c19249561ef5cc0bf277ef3c683e7515a146
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);
}