package com.fzzy.async.fzzy61.repository; import com.fzzy.async.fzzy61.entity.Fz61Depot; 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 czt * @date 2023-08-21 */ public interface Fzzy61SyncDepotRep extends JpaRepository { /** * 根据库区编码获取货位列表 * @param deptId * @return */ @Query("from Fz61Depot where deptId=:deptId order by id ") List listDepotList(@Param("deptId") String deptId); }