YYC
2025-09-28 14605ba25b4d950df29ac7a44bf65ccc3472ffff
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
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<Fz61Depot, String> {
 
    /**
     * 根据库区编码获取货位列表
     * @param deptId
     * @return
     */
    @Query("from Fz61Depot where deptId=:deptId order by id ")
    List<Fz61Depot> listDepotList(@Param("deptId") String deptId);
 
}