package com.xhpc.evcs.jpa;

import com.xhpc.order.domain.XhpcPlaceholderOrder;
import com.xhpc.order.domain.XhpcPlaceholderTimeOrder;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.data.repository.PagingAndSortingRepository;
import org.springframework.data.repository.query.QueryByExampleExecutor;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @author yuyang
 * @Date 2025-08-01 17:19
 */
@Repository
public interface PlaceholderIOrderTimeRepository extends JpaRepository<XhpcPlaceholderTimeOrder, Long>, QueryByExampleExecutor<XhpcPlaceholderTimeOrder>, JpaSpecificationExecutor<XhpcPlaceholderTimeOrder>, PagingAndSortingRepository<XhpcPlaceholderTimeOrder, Long> {

    List<XhpcPlaceholderTimeOrder> findByPlaceholderOrderIdAndDelFlag(Long placeholderTimeOrderId, Integer delFlag);
}
