vince
2023-12-18 e0d062c35d663dc97ff34c2aec5297275b96c4e6
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);
}