package com.tykj.dev.device.sendback.repository;

import com.tykj.dev.device.sendback.entity.domain.RepelTaskStatistical;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;

import java.util.List;

public interface RepelTaskStatisticalDao extends JpaRepository<RepelTaskStatistical, Integer>, JpaSpecificationExecutor<RepelTaskStatistical> {
    List<RepelTaskStatistical>  findAllByFatherTaskIdAndAndRepelId(Integer fatherId,Integer repelId);

    RepelTaskStatistical findByTaskIdAndAndRepelId(Integer taskId,Integer repelId);
}
