| package com.fzzy.async.fzzy35.repository; | 
|   | 
| import com.fzzy.async.fzzy35.entity.Fz35Building; | 
| import com.fzzy.async.fzzy35.entity.Fz35MContract; | 
| 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 Fzzy35Sync1103Rep extends JpaRepository<Fz35Building, String> { | 
|   | 
|     /** | 
|      * 获取仓房信息 | 
|      * | 
|      * @return | 
|      */ | 
|     @Query("from Fz35Building where deptId=:deptId ") | 
|     List<Fz35Building> listBuilding(@Param("deptId") String deptId); | 
| } |