CZT
2023-09-13 edca45e62b6bb47e51853c4168415f20c2f861cd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
package com.fzzy.async.fzzy35.repository;
 
import com.fzzy.async.fzzy35.entity.Fz35InoutCustomer;
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 Fzzy35Sync1212Rep extends JpaRepository<Fz35InoutCustomer, String> {
 
    /**
     * 根据信息获取客户单位信息
     *
     * @return
     */
    @Query("from Fz35InoutCustomer where deptId=:deptId order by id ")
    List<Fz35InoutCustomer> listInoutCustomer(@Param("deptId") String deptId);
 
}