陈战涛
2023-05-10 bca371e7ecc906ec824630c32aefd29a7a4f68d0
src/main/java/com/fzzy/async/fzzy35/repository/Fzzy35Sync1204Rep.java
@@ -1,6 +1,6 @@
package com.fzzy.async.fzzy35.repository;
import com.fzzy.async.fzzy35.entity.InoutSettle;
import com.fzzy.async.fzzy35.entity.Fz35InoutSettle;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.Query;
import org.springframework.data.repository.query.Param;
@@ -11,7 +11,7 @@
/**
 * 粮食入库结算
 */
public interface Fzzy35Sync1204Rep extends JpaRepository<InoutSettle, String> {
public interface Fzzy35Sync1204Rep extends JpaRepository<Fz35InoutSettle, String> {
    /**
     * 获取出入库结算信息
@@ -20,6 +20,6 @@
     * @param end
     * @return
     */
    @Query("from InoutSettle where type=:type and payTime >=:start and payTime <:end order by payTime ")
    List<InoutSettle> listInoutSettle(@Param("type") String type, @Param("start") Date start, @Param("end") Date end);
    @Query("from Fz35InoutSettle where type=:type and payTime >=:start and payTime <:end order by payTime ")
    List<Fz35InoutSettle> listInoutSettle(@Param("type") String type, @Param("start") Date start, @Param("end") Date end);
}