From 6495040bbda5308c86e852ad1b080097bfa916a9 Mon Sep 17 00:00:00 2001
From: vince <757871790@qq.com>
Date: 星期三, 09 七月 2025 09:22:17 +0800
Subject: [PATCH] 优化粮温检测

---
 src/main/java/com/fzzy/async/fzzy35/repository/Fzzy35Sync1304Rep.java |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/main/java/com/fzzy/async/fzzy35/repository/Fzzy35Sync1304Rep.java b/src/main/java/com/fzzy/async/fzzy35/repository/Fzzy35Sync1304Rep.java
index 21837c1..9c0f29a 100644
--- a/src/main/java/com/fzzy/async/fzzy35/repository/Fzzy35Sync1304Rep.java
+++ b/src/main/java/com/fzzy/async/fzzy35/repository/Fzzy35Sync1304Rep.java
@@ -1,6 +1,6 @@
 package com.fzzy.async.fzzy35.repository;
 
-import com.fzzy.async.fzzy35.entity.Gas;
+import com.fzzy.async.fzzy35.entity.Fz35Gas;
 import org.springframework.data.jpa.repository.JpaRepository;
 import org.springframework.data.jpa.repository.Query;
 import org.springframework.data.repository.query.Param;
@@ -14,7 +14,7 @@
  * @author chen
  * @date 2022-09-08 10:42
  */
-public interface Fzzy35Sync1304Rep extends JpaRepository<Gas, String> {
+public interface Fzzy35Sync1304Rep extends JpaRepository<Fz35Gas, String> {
 
     /**
      * 鏍规嵁鏃堕棿娈垫煡璇㈢伯鎯呮暟鎹�
@@ -22,6 +22,6 @@
      * @param end
      * @return
      */
-    @Query("from Gas where receiveDate >=:start and receiveDate <:end order by receiveDate ")
-    List<Gas> findByReceiveDate(@Param("start") Date start, @Param("end") Date end);
+    @Query("from Fz35Gas where receiveDate >=:start and receiveDate <:end order by receiveDate ")
+    List<Fz35Gas> findByReceiveDate(@Param("start") Date start, @Param("end") Date end);
 }

--
Gitblit v1.9.3