package com.fzzy.async.whhpjl.repository; import com.fzzy.async.whhpjl.entity.Fz40WhjlDefaultDept; 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; /** * 基础信息-单位及库区信息 */ public interface Fz40ToWhjlSync1101Rep extends JpaRepository { /** * 获取单位或库区信息 * * @return */ @Query("from Fz40WhjlDefaultDept where id=:id ") List listApi1101(@Param("id") String id); }