microservices-event-sourcing-master/inventory-service/src/main/java/com/timeyang/product/ProductRepository.java
package com.timeyang.product;

import org.springframework.data.neo4j.repository.GraphRepository;
import org.springframework.data.repository.query.Param;

/**
 * @author chaokunyang
 */
public interface ProductRepository extends GraphRepository<Product> {
    Product getProductByProductId(@Param("productId") String productId);
}
