package com.xhpc.evcs.jpa;

import com.xhpc.order.domain.XhpcPlaceholderITime;
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-05 14:16
 */
@Repository
public interface PlaceholderITimeRepository extends JpaRepository<XhpcPlaceholderITime, Long>, QueryByExampleExecutor<XhpcPlaceholderITime>, JpaSpecificationExecutor<XhpcPlaceholderITime>, PagingAndSortingRepository<XhpcPlaceholderITime, Long> {

    List<XhpcPlaceholderITime> findByPlaceholderIdAndDelFlagAndChargingStationId (Long placeholderTimeOrderId, Integer delFlag,Long chargingStationId);
}
