陈战涛
2023-05-10 bca371e7ecc906ec824630c32aefd29a7a4f68d0
src/main/java/com/fzzy/async/fzzy35/repository/Fzzy35Sync1208Rep.java
@@ -1,6 +1,6 @@
package com.fzzy.async.fzzy35.repository;
import com.fzzy.async.fzzy35.entity.Depot;
import com.fzzy.async.fzzy35.entity.Fz35Depot;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.Query;
import org.springframework.data.repository.query.Param;
@@ -10,13 +10,13 @@
/**
 * 粮食购销-粮食库存
 */
public interface Fzzy35Sync1208Rep extends JpaRepository<Depot, String> {
public interface Fzzy35Sync1208Rep extends JpaRepository<Fz35Depot, String> {
    /**
     * 根据信息获取仓库信息
     *
     * @return
     */
    @Query("from Depot where deptId=:deptId order by id ")
    List<Depot> listDepot(@Param("deptId") String deptId);
    @Query("from Fz35Depot where deptId=:deptId order by id ")
    List<Fz35Depot> listDepot(@Param("deptId") String deptId);
}