package com.fzzy.async.whhpjl.repository;
|
|
import com.fzzy.async.whhpjl.entity.Fz40WhjlDefaultBuilding;
|
import com.fzzy.async.whhpjl.entity.Fz40WhjlDefaultGranary;
|
import org.springframework.data.jpa.repository.JpaRepository;
|
import org.springframework.data.jpa.repository.Query;
|
import org.springframework.data.repository.query.Param;
|
|
import java.util.List;
|
|
/**
|
* 廒间信息
|
*
|
* @Author:YAN
|
*/
|
public interface Fz40ToWhjlSync1106Rep extends JpaRepository<Fz40WhjlDefaultGranary, String> {
|
/**
|
* 获取廒间信息
|
*
|
* @return
|
*/
|
@Query("from Fz40WhjlDefaultGranary where companyId=:companyId ")
|
List<Fz40WhjlDefaultGranary> listApi1106(@Param("companyId") String companyId);
|
}
|