From 814b453961763bf1b60af85f9f3bdc4682659ae8 Mon Sep 17 00:00:00 2001 From: jiazx0107@163.com <jiazx0107@163.com> Date: 星期一, 15 一月 2024 20:28:54 +0800 Subject: [PATCH] 添加手动推送粮情接口,以便第三方接口调用 --- src/main/java/com/fzzy/async/fzzy40/repository/Fzzy40Sync1302Rep.java | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/main/java/com/fzzy/async/fzzy40/repository/Fzzy40Sync1302Rep.java b/src/main/java/com/fzzy/async/fzzy40/repository/Fzzy40Sync1302Rep.java index 5c2adf2..96727be 100644 --- a/src/main/java/com/fzzy/async/fzzy40/repository/Fzzy40Sync1302Rep.java +++ b/src/main/java/com/fzzy/async/fzzy40/repository/Fzzy40Sync1302Rep.java @@ -35,6 +35,6 @@ * @param end * @return */ - @Query("from Fz40Grain where depotId =:depotId and receiveDate >=:start and receiveDate <:end order by receiveDate ") + @Query("from Fz40Grain where depotId =:depotId and receiveDate >=:start and receiveDate <:end order by receiveDate desc ") List<Fz40Grain> findByReceiveDate(@Param("depotId") String depotId, @Param("start") Date start, @Param("end") Date end); } -- Gitblit v1.9.3