From bf34444f482223d291830c13cb147392298d99ee Mon Sep 17 00:00:00 2001 From: vince <757871790@qq.com> Date: 星期五, 15 三月 2024 09:39:25 +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