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

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

/**
 * @author chaokunyang
 */
public interface CatalogRepository extends GraphRepository<Catalog> {
    Catalog findCatalogByCatalogNumber(@Param("catalogNumber") Long catalogNumber);
}
