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