package com.maternalmall.repository;

import com.maternalmall.domain.LogisticsRecord;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

public interface LogisticsRecordRepository extends JpaRepository<LogisticsRecord, Long> {
    List<LogisticsRecord> findByOrderId(Long orderId);
    List<LogisticsRecord> findByMerchantId(Long merchantId);
}
