From bca371e7ecc906ec824630c32aefd29a7a4f68d0 Mon Sep 17 00:00:00 2001
From: 陈战涛 <chenzhantao7055@sina.com>
Date: 星期三, 10 五月 2023 18:48:35 +0800
Subject: [PATCH] 提交库存同步

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

diff --git a/src/main/java/com/fzzy/async/fzzy35/repository/Fzzy35Sync1303Rep.java b/src/main/java/com/fzzy/async/fzzy35/repository/Fzzy35Sync1303Rep.java
index ed7248c..2f1fd07 100644
--- a/src/main/java/com/fzzy/async/fzzy35/repository/Fzzy35Sync1303Rep.java
+++ b/src/main/java/com/fzzy/async/fzzy35/repository/Fzzy35Sync1303Rep.java
@@ -1,6 +1,6 @@
 package com.fzzy.async.fzzy35.repository;
 
-import com.fzzy.async.fzzy35.entity.Pest;
+import com.fzzy.async.fzzy35.entity.Fz35Pest;
 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 09:51
  */
-public interface Fzzy35Sync1303Rep extends JpaRepository<Pest, String> {
+public interface Fzzy35Sync1303Rep extends JpaRepository<Fz35Pest, String> {
 
     /**
      * 鏍规嵁鏃堕棿娈垫煡璇㈢伯鎯呮暟鎹�
@@ -23,6 +23,6 @@
      * @param end
      * @return
      */
-    @Query("from Pest where receiveDate >=:start and receiveDate <:end order by receiveDate ")
-    List<Pest> findPestByReceiveDate(@Param("start") Date start, @Param("end") Date end);
+    @Query("from Fz35Pest where receiveDate >=:start and receiveDate <:end order by receiveDate ")
+    List<Fz35Pest> findPestByReceiveDate(@Param("start") Date start, @Param("end") Date end);
 }

--
Gitblit v1.9.3