package com.sw.mes.yb.deviceCheck.service;

import com.sw.mes.core.base.BaseService;
import com.sw.mes.core.utils.RequestPage;
import com.sw.mes.yb.deviceCheck.entity.SpotCheck;
import org.springframework.data.jpa.domain.Specification;

import java.util.List;

public interface SpotCheckService extends BaseService<SpotCheck> {

    List<SpotCheck> findByExample(Specification<SpotCheck> specification, RequestPage page);

    SpotCheck getByName(String name);
}
