|  |  |  | 
|---|
|  |  |  | package com.fzzy.async.fzzy35.repository; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | import com.fzzy.async.fzzy35.entity.Fz35InoutCustomer; | 
|---|
|  |  |  | 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; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | import java.util.Date; | 
|---|
|  |  |  | import java.util.List; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | /** | 
|---|
|  |  |  | 
|---|
|  |  |  | @Query("from Fz35InoutCustomer where deptId=:deptId order by id ") | 
|---|
|  |  |  | List<Fz35InoutCustomer> listInoutCustomer(@Param("deptId") String deptId); | 
|---|
|  |  |  |  | 
|---|
|  |  |  | /** | 
|---|
|  |  |  | * 根据信息获取客户单位信息 | 
|---|
|  |  |  | * | 
|---|
|  |  |  | * @return | 
|---|
|  |  |  | */ | 
|---|
|  |  |  | @Query("from Fz35InoutCustomer where companyId=:companyId order by id ") | 
|---|
|  |  |  | List<Fz35InoutCustomer> listInoutCustomerByCompanyId(@Param("companyId") String companyId); | 
|---|
|  |  |  |  | 
|---|
|  |  |  | @Query("from Fz35InoutCustomer where khbh=:khbh ") | 
|---|
|  |  |  | List<Fz35InoutCustomer> getDataById(@Param("khbh") String khbh); | 
|---|
|  |  |  | @Query("from Fz35InoutCustomer where id=:id order by id ") | 
|---|
|  |  |  | List<Fz35InoutCustomer> getDataById(@Param("id") String id); | 
|---|
|  |  |  | } | 
|---|