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

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

import java.util.List;

/**
 * @author zjm
 * @version 1.0.0
 * @ClassName RepelDeviceUnitDao.java
 * @Description TODO
 * @createTime 2021年01月10日 10:40:00
 */
public interface RepelDeviceUnitDao  extends JpaRepository<RepelDeviceUnit, Integer>, JpaSpecificationExecutor<RepelDeviceUnit> {

    List<RepelDeviceUnit> findAllByUnitsId(Integer unitId);
}
