CZT
2023-10-18 0ca04b760d5c78cc0388efc58e37f02892b2b475
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
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<Fz40WhjlDefaultDept, String> {
 
    /**
     * 获取单位或库区信息
     *
     * @return
     */
    @Query("from Fz40WhjlDefaultDept where id=:id ")
    List<Fz40WhjlDefaultDept> listApi1101(@Param("id") String id);
}