package cn.quantgroup.xyqb.repository;

import cn.quantgroup.xyqb.entity.Address;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;

/**
 * Created by 11 on 2016/12/30.
 */
public interface IAddressRepository extends JpaRepository<Address, Long>, JpaSpecificationExecutor<Address> {
    Address findByUserId(Long userId);
}
